Dockerfile.ubi9 459 B

123456789101112
  1. # syntax=docker/dockerfile:1.2
  2. FROM registry.access.redhat.com/ubi9/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-9.noarch.rpm && \
  6. dnf install -y python3.12-pip openssh-clients git openssl sshpass sudo bind-utils iputils && \
  7. pip3.12 install -r /tmp/files/requirements.txt && \
  8. adduser ansible
  9. USER ansible