Skip to content

Commit aa1760c

Browse files
authored
Merge pull request #40 from FalkorDB/copilot/upgrade-debian-gcc-13
Upgrade Debian build image GCC to 13
2 parents bcff76c + 142a689 commit aa1760c

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

Dockerfile.debian

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
1-
FROM debian:bookworm-slim
1+
FROM debian:trixie-slim
22

3-
RUN apt-get update -y && 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
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
5+
6+
# Set gcc-13 and g++-13 as the default gcc/g++
7+
RUN update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-13 130 \
8+
--slave /usr/bin/g++ g++ /usr/bin/g++-13 \
9+
--slave /usr/bin/gcov gcov /usr/bin/gcov-13
410

511
# install rust
612
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y

0 commit comments

Comments
 (0)