Last active
November 18, 2021 13:26
-
-
Save gforien/601e14b42675eb8e93993bd5b6425710 to your computer and use it in GitHub Desktop.
Install packet in a docker image, and clear cache afterwards ✨
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
# 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