Add crontab

This commit is contained in:
2018-10-28 16:39:13 +01:00
parent fbc32f7970
commit e9069ae211
2 changed files with 4 additions and 2 deletions

View File

@@ -5,8 +5,7 @@ VOLUME /data
RUN apk add --no-cache git bash openssh parallel openssh-keygen vim shadow
RUN useradd --uid 10000 -ms /bin/bash executor
RUN chown executor:executor /data
RUN echo "* * * * * /usr/local/bin/cron-command" >> /etc/crontabs/root
ADD crontab /etc/crontabs/executor
RUN apk del shadow
ADD dockerbin/* checker/* src/* /usr/local/bin/
ADD executor-conf /etc/init.d