diff --git a/Dockerfile b/Dockerfile index 209a5ac451da90d1ef3388362800d74ab2ab887b..8fd261a705a40c799ce844a33448fde7fbd719ad 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,32 +4,30 @@ FROM ubuntu:jammy ARG DEBIAN_FRONTEND=noninteractive ENV TZ=Europe/Stockholm -RUN apt update && apt upgrade -# necessary -RUN apt install -y \ - python3 \ - python3-pip \ - python3-tk \ - ipython3 \ - git \ - sudo \ - man-db \ - manpages-posix \ - arp-scan +RUN apt-get update && apt install -y --no-install-recommends \ + python3 \ + python3-pip \ + python3-tk \ + ipython3 \ + git \ + sudo \ + man-db \ + manpages-posix \ + arp-scan RUN sed -i 's:^path-exclude=/usr/share/man:#path-exclude=/usr/share/man:' \ /etc/dpkg/dpkg.cfg.d/excludes RUN yes | unminimize # for some reason it's needed again -RUN apt update && apt upgrade + # nice to have -RUN apt install -y \ - vim \ - vim-youcompleteme \ - vim-python-jedi \ - zsh \ - zsh-syntax-highlighting \ - python3-python-qt-binding +RUN apt-get update && apt install -y --no-install-recommends \ + vim \ + vim-youcompleteme \ + vim-python-jedi \ + zsh \ + zsh-syntax-highlighting \ + python3-python-qt-binding # qt-binding is a really unnecessary 300MB, but i don't want # to do more matplotlib hacks