Skip to content

Commit

Permalink
docker: drop use of backports repo for latest-gcc
Browse files Browse the repository at this point in the history
gcc:latest moved to Debian bookworm, hence the backports is not required and not available anymore
  • Loading branch information
dev-zero committed May 13, 2023
1 parent a0d59a2 commit 4c62ab0
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions tools/docker/Dockerfile.build-env-latest-gcc
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,18 @@ FROM gcc:latest

ENV DEBIAN_FRONTEND=noninteractive

# Ensure that we're using Bullseye as base, needs to be updated as soon as this changes
# Idiom to enable backports when available/required. Add after `set -ex` below:
# grep -q bullseye /etc/os-release ; \
# echo "deb http://deb.debian.org/debian bullseye-backports main" > /etc/apt/sources.list.d/backports.list ; \
# To install packages from the backports, append `/bullseye-backports` to package name, ex.:
# cmake/bullseye-backports

RUN set -ex ; \
grep -q bullseye /etc/os-release ; \
echo "deb http://deb.debian.org/debian bullseye-backports main" > /etc/apt/sources.list.d/backports.list ; \
apt-get update ; \
apt-get install -y --no-install-recommends \
locales \
libopenblas-openmp-dev \
cmake/bullseye-backports \
cmake \
ninja-build \
lcov \
pkg-config \
Expand Down

0 comments on commit 4c62ab0

Please sign in to comment.