Created
April 13, 2018 08:02
-
-
Save colthreepv/2aa42fbef629f82bb50d0ce0daf9ab5a to your computer and use it in GitHub Desktop.
Inspect docker context
This file contains 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
FROM alpine | |
RUN apk --no-cache add ncdu | |
COPY . /tmp/context | |
ENTRYPOINT ncdu /tmp/context |
This file contains 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 | |
docker build -f Dockerfile-context . -t dockerfile-context && docker run --rm -it dockerfile-context && docker rmi dockerfile-context |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment