Skip to content

Commit

Permalink
Merge pull request #314 from DSD-DBS/no-install-recommends
Browse files Browse the repository at this point in the history
fix: Don't install recommended packages in base image
  • Loading branch information
MoritzWeber0 authored Sep 6, 2024
2 parents 10e3a4d + 495f2be commit af1eb24
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
11 changes: 6 additions & 5 deletions base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,18 @@ ENV SHELL=/bin/bash

RUN apt-get update && \
apt-get upgrade --yes && \
apt-get install --yes \
apt-get install --yes --no-install-recommends \
gettext-base \
git-lfs \
gnupg \
locales \
neovim \
python3 \
python3-pip \
python3-venv \
git-lfs \
unzip \
neovim \
zip \
wget && \
wget \
zip && \
rm -rf /var/lib/apt/lists/*

RUN echo "en_GB.UTF-8 UTF-8" >> /etc/locale.gen && \
Expand Down
2 changes: 0 additions & 2 deletions jupyter-notebook/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ ENV SHELL=/bin/bash

RUN apt-get update && \
apt-get install --yes --no-install-recommends \
git \
git-lfs \
libgirepository1.0-dev \
libcairo2-dev \
gir1.2-pango-1.0 \
Expand Down
2 changes: 1 addition & 1 deletion t4c/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ ENV SHELL=/bin/bash
USER root

RUN apt-get update && \
apt-get install -y git-lfs xvfb xauth && \
apt-get install -y xvfb xauth && \
rm -rf /var/lib/apt/lists/*

COPY docker_entrypoint.sh /docker_entrypoint.sh
Expand Down

0 comments on commit af1eb24

Please sign in to comment.