Created
April 28, 2020 16:37
-
-
Save uurtech/b7e8d210953b05d83cb6d93f0c7504c2 to your computer and use it in GitHub Desktop.
Keep Git Container Running
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM alpine:latest | |
RUN apk --update add ca-certificates | |
RUN apk add git | |
RUN apk add bash | |
ENTRYPOINT ["tail", "-f", "/dev/null"] | |
#You can now run it via docker run -d IMAGE_ID |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment