Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds --no-install-suggests to minimizing branch #180

Merged
merged 1 commit into from
Nov 19, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading