diff options
| author | Nicholas Rodrigues Lordello <[email protected]> | 2026-05-15 09:06:50 +0200 |
|---|---|---|
| committer | Nicholas Rodrigues Lordello <[email protected]> | 2026-05-15 09:06:50 +0200 |
| commit | 795342c5e7793b66c44e8482ec7dcd94bf4f8885 (patch) | |
| tree | f04ce612b0a3a3e67b6e60627f979205cd2af6e7 /Containerfile | |
| parent | 5a07d783ba5ba3e0e10dfcda140761e865c5673f (diff) | |
Fix Image and DBX Commandsmacos
Diffstat (limited to 'Containerfile')
| -rw-r--r-- | Containerfile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Containerfile b/Containerfile index b808aab..84ba12e 100644 --- a/Containerfile +++ b/Containerfile @@ -30,6 +30,7 @@ RUN rm /etc/apt/apt.conf.d/docker-* && \ wget \ zip \ && \ + apt-get clean && \ rm -dr /var/lib/apt/lists/* # Passwordless sudo @@ -55,7 +56,9 @@ COPY --chmod=600 --chown=1000:1000 ssh/id_ed25519.pub /home/${USER}/.ssh/authori COPY --chown=1000:1000 custom/ /home/${USER}/ RUN rm /home/${USER}/README.md RUN if [ -f /home/${USER}/extra-packages ]; then \ + apt-get update && \ apt-get install -y $(cat /home/${USER}/extra-packages | xargs) && \ + apt-get clean && \ rm -dr /var/lib/apt/lists/* /home/${USER}/extra-packages; \ fi RUN if [ -x /home/${USER}/post-install ]; then \ |
