Remove unwanted stuff from dockerfile (/run is in ram)

This commit is contained in:
Václav Valíček 2018-10-28 16:16:14 +01:00
parent 637576cee8
commit 7538875c56
No known key found for this signature in database
GPG Key ID: 7CF44871CEA75938

View File

@ -7,12 +7,10 @@ RUN apk add --no-cache git bash openssh parallel openssh-keygen vim shadow
RUN useradd --uid 10000 -ms /bin/bash executor RUN useradd --uid 10000 -ms /bin/bash executor
RUN chown executor:executor /data RUN chown executor:executor /data
RUN echo "* * * * * /usr/local/bin/cron-command" >> /etc/crontabs/root RUN echo "* * * * * /usr/local/bin/cron-command" >> /etc/crontabs/root
RUN touch /var/run/cloner.pid
RUN chown executor:executor /var/run/cloner.pid
RUN apk del shadow RUN apk del shadow
ADD dockerbin/* checker/* src/* /usr/local/bin/ ADD dockerbin/* checker/* src/* /usr/local/bin/
CMD [ "/usr/local/bin/launch-cron" ] CMD [ "/sbin/init" ]