Skip to content

Commit

Permalink
Adds --no-install-suggests to minimizing branch
Browse files Browse the repository at this point in the history
  • Loading branch information
dmalan committed Nov 19, 2023
1 parent 8db1140 commit 02bfc75
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ARG DEBIAN_FRONTEND=noninteractive
# Suggested build environment for Python, per pyenv, even though we're building ourselves
# https://github.com/pyenv/pyenv/wiki#suggested-build-environment
RUN apt update && \
apt install --no-install-recommends --yes \
apt install --no-install-recommends --no-install-suggests --yes \
make build-essential libssl-dev zlib1g-dev \
libbz2-dev libreadline-dev libsqlite3-dev llvm ca-certificates curl wget unzip \
libncursesw5-dev xz-utils tk-dev libxml2-dev libxmlsec1-dev libffi-dev liblzma-dev
Expand All @@ -32,7 +32,7 @@ RUN cd /tmp && \
# Install Ruby 3.2.x
# https://www.ruby-lang.org/en/downloads/
RUN apt update && \
apt install --no-install-recommends --yes \
apt install --no-install-recommends --no-install-suggests --yes \
autoconf \
libyaml-dev && \
cd /tmp && \
Expand Down Expand Up @@ -101,7 +101,7 @@ RUN curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | d
chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg && \
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | tee /etc/apt/sources.list.d/github-cli.list > /dev/null && \
apt update && \
apt install gh --no-install-recommends --yes
apt install gh --no-install-recommends --no-install-suggests --yes
# Final stage
Expand All @@ -115,7 +115,7 @@ COPY --from=builder /opt/ /opt/
# Avoid "delaying package configuration, since apt-utils is not installed"
RUN apt update && \
apt install --no-install-recommends --yes \
apt install --no-install-recommends --no-install-suggests --yes \
apt-utils \
ca-certificates \
curl \
Expand Down Expand Up @@ -144,7 +144,7 @@ ENV LANG=C.UTF-8
# Install CS50, Ubuntu, and Python packages
RUN curl https://packagecloud.io/install/repositories/cs50/repo/script.deb.sh | bash && \
apt update && \
apt install --no-install-recommends --yes \
apt install --no-install-recommends --no-install-suggests --yes \
astyle \
bash-completion \
build-essential `# libc, gcc, g++, make, dpkg-dev etc.`\
Expand Down

0 comments on commit 02bfc75

Please sign in to comment.