Skip to content

Instantly share code, notes, and snippets.

@gforien
Last active November 18, 2021 13:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gforien/601e14b42675eb8e93993bd5b6425710 to your computer and use it in GitHub Desktop.
Save gforien/601e14b42675eb8e93993bd5b6425710 to your computer and use it in GitHub Desktop.
Install packet in a docker image, and clear cache afterwards ✨
# for Debian-based images (buster, bullseye, etc)
FROM debian
RUN apt-get update &&\
apt-get install ncdu &&\
rm -rf /var/lib/apt/lists/*
# for Alpine-based images
FROM alpine
RUN apk add --no-cache ncdu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment