Skip to content

Instantly share code, notes, and snippets.

@Ompragash
Created January 22, 2025 13:18
Show Gist options
  • Select an option

  • Save Ompragash/d94be2019f60b208e5c0fecfb0000814 to your computer and use it in GitHub Desktop.

Select an option

Save Ompragash/d94be2019f60b208e5c0fecfb0000814 to your computer and use it in GitHub Desktop.
Dockerfile Slim
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