Skip to content

Commit 142a689

Browse files
author
Cargo Audit
committed
Update Dockerfile to use debian:trixie-slim and streamline gcc-13 installation
1 parent ccc2a46 commit 142a689

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

Dockerfile.debian

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
FROM debian:bookworm-slim
1+
FROM debian:trixie-slim
22

3-
RUN echo "deb http://deb.debian.org/debian bookworm-backports main" >> /etc/apt/sources.list && \
4-
apt-get update -y && \
5-
apt-get install -y git wget build-essential lcov openssl libssl-dev python3 python3-venv rsync unzip curl m4 automake peg libtool autoconf python3-pip cmake && \
6-
apt-get install -y -t bookworm-backports gcc-13 g++-13
3+
RUN apt-get update -y && \
4+
apt-get install -y git wget build-essential lcov openssl libssl-dev python3 python3-venv rsync unzip curl m4 automake peg libtool autoconf python3-pip cmake gcc-13 g++-13
75

86
# Set gcc-13 and g++-13 as the default gcc/g++
97
RUN update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-13 130 \

0 commit comments

Comments
 (0)