Add 'Dockerfile'

This commit is contained in:
Danny Bessems 2020-02-17 12:39:26 +00:00
parent c3b00cbc53
commit fe30c811ca
1 changed files with 11 additions and 0 deletions

11
Dockerfile Normal file
View File

@ -0,0 +1,11 @@
FROM alpine/git:1.0.7
COPY init/entrypoint.sh /tmp/entrypoint.sh
ARG SPARSE_CHECKOUT
ARG REMOTE_REPO
ARG REMOTE_BRANCH
RUN chmod +x /tmp/entrypoint.sh
ENTRYPOINT ["/tmp/entrypoint.sh"]
CMD ["sleep", "3600"]