Skip to content

Instantly share code, notes, and snippets.

@sungmin-park
Last active May 8, 2023 15:02
Show Gist options
  • Save sungmin-park/40cb12b95856e9dab36b782ef50aa505 to your computer and use it in GitHub Desktop.
Save sungmin-park/40cb12b95856e9dab36b782ef50aa505 to your computer and use it in GitHub Desktop.
docker show context
#!/bin/sh -e
docker build --tag show-docker-files --file - . <<EOF
FROM ubuntu
RUN apt-get update && apt-get install -y ncdu
COPY . /build-context
EOF
docker run -it --rm show-docker-files ncdu /build-context
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment