ContainerImage.GitSparseClone/Dockerfile
2020-02-17 12:39:26 +00:00

11 lines
209 B
Docker

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"]