Last active
October 4, 2023 05:18
-
-
Save pingkunga/12e89185a1bc68be1865322599358b54 to your computer and use it in GitHub Desktop.
Light Weight Container with docker git zip and basic security
This file contains hidden or 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 | |
COPY --from=docker:dind /usr/local/bin/docker /usr/local/bin/ | |
RUN apk --update add zip git curl --no-cache | |
RUN apk cache clean | |
RUN adduser -D invs | |
RUN rm -rf /bin/cat | |
RUN rm -rf /bin/touch | |
RUN rm -rf /bin/ls | |
RUN rm -rf /bin/touch | |
RUN rm -rf /bin/sh | |
LABEL desc="Light Weight Container with docker git zip and basic security vi curl" | |
USER invs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment