Last active
September 7, 2015 15:20
-
-
Save arkan/8ed055a2ef6d94007c30 to your computer and use it in GitHub Desktop.
How to install dig on CoreOS with the minimum impact possible
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
FROM alpine:latest | |
RUN apk add -U bind-tools && rm -f /var/cache/apk/* | |
ENTRYPOINT ["dig"] |
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
mkdir -p ~/dig | |
curl -o ~/dig/Dockerfile https://gist.githubusercontent.com/Arkan/8ed055a2ef6d94007c30/raw/5e264d833c1968e26c42bdd5d5b913622bc6eb9a/Dockerfile | |
docker build --rm --no-cache -t dig dig/ | |
alias dig="docker run --rm -it dig" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment