#FROM centos:${CentOsVersion} #FROM ${CentOsVersion} FROM ${Cible}:${VersionCible} LABEL maintainer='Guillaume Astier Ruiz' ENV os="${Cible}" ENV osversion="${VersionCible}" ENV ESL-TOOLS=repo ENV TERM=xterm RUN yum update -y RUN yum install yum-utils createrepo vim wget -y RUN yum install epel-release -y RUN yum install screen -y #COPY ./bin/sync.sh /usr/local/bin/sync.sh COPY ./bin/ /usr/local/bin/ #RUN chmod 755 /usr/local/bin/sync.sh RUN chmod 755 /usr/local/bin/* #COPY ./bin/empty.sh /usr/local/bin/empty.sh #RUN chmod 755 /usr/local/bin/empty.sh RUN yum install openssl -y RUN groupadd esl -g 1000 RUN useradd -s /bin/bash -g 1000 -u 1000 -p "$(/usr/bin/openssl passwd -1 esl)" esl RUN mkdir /data RUN chown -R esl:esl /data USER esl CMD ${Run} ${RunArg} #ENTRYPOINT [ "${Run}" "${RunArg}" ]