We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d9ebc48 commit c1afbf6Copy full SHA for c1afbf6
docker/install-system-dependencies
@@ -153,6 +153,17 @@ _exec apt-get update
153
154
_exec apt-get install --yes "${system_packages[@]}"
155
156
+# Install newer cmake on Debian Buster.
157
+_exec apt-get install --yes lsb-release
158
+if [ "$(lsb_release -sc)" = 'buster' ]
159
+then
160
+ _exec apt-get install --yes ca-certificates.
161
+ echo 'deb https://archive.debian.org/debian-archive/debian buster-backports main' \
162
+ | _exec tee '/etc/apt/sources.list.d/debian-buster-backports.list' >/dev/null
163
+ _exec apt-get update
164
+ _exec apt-get install --yes -t buster-backports cmake
165
+fi
166
+
167
for alternative_pair in "${alternative_pairs[@]}"
168
do
169
_exec update-alternatives --set ${alternative_pair}
0 commit comments