Skip to content

Commit d7d5f9a

Browse files
committed
fix: downgrade GCC from 13.2 to 12.3 for C++
1 parent d8ed31d commit d7d5f9a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/docker/cpp/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
FROM gcc:13.2.0-bookworm AS builder
1+
FROM gcc:12.3.0-bullseye AS builder
22
WORKDIR /usr/src/application
33
COPY ./ ./
44
RUN g++ ./*.cpp* -o solution -Wall -Wextra -Wfloat-equal -Wundef -Werror -std=c++17 -pedantic -pedantic-errors -O3
55

6-
FROM gcr.io/distroless/cc-debian12:latest AS runner
6+
FROM gcr.io/distroless/cc-debian11:latest AS runner
77
WORKDIR /usr/src/application
88
COPY --from=builder /usr/src/application/solution ./
99
CMD ["./solution"]

0 commit comments

Comments
 (0)