Add crontab
This commit is contained in:
parent
fbc32f7970
commit
e9069ae211
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user