Created
October 13, 2023 03:30
-
-
Save 0xBigBoss/a932b3f7282b6529c4997fbd85986b7d to your computer and use it in GitHub Desktop.
Analyze a docker context and what files would be included in your docker image. Creates a directory at /tmp/docker-context.
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
printf 'FROM scratch\nCOPY . /' | DOCKER_BUILDKIT=1 docker build -f - -o /tmp/docker-context . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment