Dockerfile.centos7 320 B

123456789101112
  1. # syntax=docker/dockerfile:1.0-experimental
  2. FROM centos:7.7.1908
  3. LABEL maintainer="surkov.v@sdsys.ru"
  4. RUN --mount=type=bind,source=./files,target=/tmp/files \
  5. yum install -y epel-release \
  6. && yum install -y python2-pip \
  7. && pip install -r /tmp/files/requirements.txt \
  8. && adduser ansible
  9. USER ansible