Dockerfile.ubi8 431 B

123456789101112
  1. # syntax=docker/dockerfile:1.2
  2. FROM registry.access.redhat.com/ubi8/ubi:latest
  3. LABEL maintainer="surkov.v@sdsys.ru"
  4. RUN --mount=type=bind,source=./files,target=/tmp/files \
  5. dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm && \
  6. dnf install -y python38 openssh-clients git openssl sshpass sudo && \
  7. pip3 install -r /tmp/files/requirements.txt && \
  8. adduser ansible
  9. USER ansible