push multi commands to own script

This commit is contained in:
will Farrell
2017-02-15 11:16:11 -07:00
parent 0bbd009e23
commit 0fc4c3fd7a
2 changed files with 12 additions and 6 deletions

View File

@ -2,7 +2,7 @@ FROM library/docker:1.13
ENV HOME_DIR=/opt/crontab
RUN apk add --no-cache --virtual .run-deps bash jq \
&& mkdir -p ${HOME_DIR}/projects
&& mkdir -p ${HOME_DIR}/jobs ${HOME_DIR}/projects
COPY docker-entrypoint /
ENTRYPOINT ["/docker-entrypoint"]