Created
January 22, 2025 13:18
-
-
Save Ompragash/d94be2019f60b208e5c0fecfb0000814 to your computer and use it in GitHub Desktop.
Dockerfile Slim
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 | |
| # Install basic packages | |
| RUN apk add --no-cache bash | |
| RUN --mount=type=secret,id=ARTIFACTORY_ACCESS_TOKEN \ | |
| echo "Token is: $ARTIFACTORY_ACCESS_TOKEN" | |
| # Set the default command to run when starting the container | |
| CMD ["bash"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment