|
@@ -0,0 +1,14 @@
|
|
|
|
+# syntax=docker/dockerfile:1.2
|
|
|
|
+
|
|
|
|
+FROM registry.access.redhat.com/ubi9/ubi:latest
|
|
|
|
+LABEL maintainer="surkov.v@sdsys.ru"
|
|
|
|
+
|
|
|
|
+RUN --mount=type=bind,source=./files,target=/tmp/files \
|
|
|
|
+ ls -lah /tmp/files | cat - > /meme.txt && \
|
|
|
|
+ cat /tmp/files/requirements.txt >> /meme.txt
|
|
|
|
+# dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm && \
|
|
|
|
+# dnf install -y python3-pip openssh-clients git openssl sshpass sudo && \
|
|
|
|
+# pip3 install -r /tmp/files/requirements.txt && \
|
|
|
|
+# adduser ansible
|
|
|
|
+
|
|
|
|
+#USER ansible
|