Skip to content

Instantly share code, notes, and snippets.

@arkan
Last active September 7, 2015 15:20
Show Gist options
  • Save arkan/8ed055a2ef6d94007c30 to your computer and use it in GitHub Desktop.
Save arkan/8ed055a2ef6d94007c30 to your computer and use it in GitHub Desktop.
How to install dig on CoreOS with the minimum impact possible
FROM alpine:latest
RUN apk add -U bind-tools && rm -f /var/cache/apk/*
ENTRYPOINT ["dig"]
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