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