ESL-devenv/Template/Dockerfile.repo
2021-12-12 13:59:57 +01:00

20 lines
411 B
Docker

FROM centos:${CentOsVersion}
LABEL maintainer='Guillaume Astier Ruiz'
ENV os='centos'
ENV osversion='7'
ENV ESL-TOOLS=repo
RUN yum update -y
RUN yum install yum-utils createrepo vim wget -y
RUN yum install epel-release -y
COPY ./bin/sync.sh /usr/local/bin/sync.sh
RUN chmod 755 /usr/local/bin/sync.sh
COPY ./bin/empty.sh /usr/local/bin/empty.sh
RUN chmod 755 /usr/local/bin/empty.sh
CMD ${Run} ${RunArg}