# syntax=docker/dockerfile:1.2 FROM registry.access.redhat.com/ubi8/ubi:latest LABEL maintainer="surkov.v@sdsys.ru" 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 sudo && \ pip3 install -r /tmp/files/requirements.txt && \ adduser ansible USER ansible