Skip to content

Instantly share code, notes, and snippets.

@0xBigBoss
Created May 27, 2023 04:14
Show Gist options
  • Select an option

  • Save 0xBigBoss/edc6d042fbd55ae29abafbccc6caa8dd to your computer and use it in GitHub Desktop.

Select an option

Save 0xBigBoss/edc6d042fbd55ae29abafbccc6caa8dd to your computer and use it in GitHub Desktop.
analyze dockerignore in current directory
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