Last active
May 8, 2023 15:02
-
-
Save sungmin-park/40cb12b95856e9dab36b782ef50aa505 to your computer and use it in GitHub Desktop.
docker show 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
#!/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