Skip to content

docker: use newer CMake from buster-backports #36

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
11 changes: 11 additions & 0 deletions docker/install-system-dependencies
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,17 @@ _exec apt-get update

_exec apt-get install --yes "${system_packages[@]}"

# Install newer cmake on Debian Buster.
_exec apt-get install --yes lsb-release
if [ "$(lsb_release -sc)" = 'buster' ]
then
_exec apt-get install --yes ca-certificates.
echo 'deb https://archive.debian.org/debian-archive/debian buster-backports main' \
| _exec tee '/etc/apt/sources.list.d/debian-buster-backports.list' >/dev/null
_exec apt-get update
_exec apt-get install --yes -t buster-backports cmake
fi

for alternative_pair in "${alternative_pairs[@]}"
do
_exec update-alternatives --set ${alternative_pair}
Expand Down