11# Copyright 2020-2021 Peter Dimov
22# Copyright 2021 Andrey Semashev
3- # Copyright 2021 Alexander Grund
3+ # Copyright 2021-2024 Alexander Grund
44# Copyright 2022 James E. King III
55#
66# Distributed under the Boost Software License, Version 1.0.
@@ -128,7 +128,7 @@ jobs:
128128 fi
129129 if [ -n "${{matrix.container}}" ] && [ -f "/etc/debian_version" ]; then
130130 apt-get -o Acquire::Retries=$NET_RETRY_COUNT update
131- apt-get -o Acquire::Retries=$NET_RETRY_COUNT install -y sudo software-properties-common curl
131+ apt-get -o Acquire::Retries=$NET_RETRY_COUNT -y -q --no- install-suggests --no-install-recommends install sudo software-properties-common curl
132132 # Need (newer) git, and the older Ubuntu container may require requesting the key manually using port 80
133133 curl -sSL --retry ${NET_RETRY_COUNT:-5} 'http://keyserver.ubuntu.com/pks/lookup?op=get&search=0xE1DD270288B4E6030699E45FA1715D88E1DF1F24' | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/git-core_ubuntu_ppa.gpg
134134 for i in {1..${NET_RETRY_COUNT:-3}}; do sudo -E add-apt-repository -y ppa:git-core/ppa && break || sleep 10; done
@@ -141,7 +141,7 @@ jobs:
141141 else
142142 pkgs+=" python libpython-dev"
143143 fi
144- apt-get -o Acquire::Retries=$NET_RETRY_COUNT install -y $pkgs
144+ apt-get -o Acquire::Retries=$NET_RETRY_COUNT -y -q --no- install-suggests --no-install-recommends install $pkgs
145145 fi
146146 # For jobs not compatible with ccache, use "ccache: no" in the matrix
147147 if [[ "${{ matrix.ccache }}" == "no" ]]; then
@@ -197,15 +197,15 @@ jobs:
197197 else
198198 pkgs="${{matrix.install}}"
199199 fi
200- sudo apt-get -o Acquire::Retries=$NET_RETRY_COUNT install -y $pkgs
200+ sudo apt-get -o Acquire::Retries=$NET_RETRY_COUNT -y -q --no- install-suggests --no-install-recommends install $pkgs
201201
202202 - name : Setup GCC Toolchain
203203 if : matrix.gcc_toolchain
204204 run : |
205205 GCC_TOOLCHAIN_ROOT="$HOME/gcc-toolchain"
206206 echo "GCC_TOOLCHAIN_ROOT=$GCC_TOOLCHAIN_ROOT" >> $GITHUB_ENV
207207 if ! command -v dpkg-architecture; then
208- apt-get install -y dpkg-dev
208+ apt-get -o Acquire::Retries=$NET_RETRY_COUNT -y -q --no-install-suggests --no-install-recommends install dpkg-dev
209209 fi
210210 MULTIARCH_TRIPLET="$(dpkg-architecture -qDEB_HOST_MULTIARCH)"
211211 mkdir -p "$GCC_TOOLCHAIN_ROOT"
0 commit comments