|
@@ -3,9 +3,10 @@
|
|
FROM registry.access.redhat.com/ubi8/ubi:8.4
|
|
FROM registry.access.redhat.com/ubi8/ubi:8.4
|
|
LABEL maintainer="surkov.v@sdsys.ru"
|
|
LABEL maintainer="surkov.v@sdsys.ru"
|
|
|
|
|
|
-RUN dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm && \
|
|
+RUN --mount=type=bind,source=./files,target=/tmp/files \
|
|
|
|
+ dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm && \
|
|
dnf install -y python38 openssh-clients git openssl sshpass && \
|
|
dnf install -y python38 openssh-clients git openssl sshpass && \
|
|
- pip3 install ansible netaddr pbr jmespath ruamel.yaml MarkupSafe && \
|
|
+ pip3 install -r /tmp/files/requirements.txt && \
|
|
adduser ansible
|
|
adduser ansible
|
|
|
|
|
|
USER ansible
|
|
USER ansible
|