From c25eeaaa98015d86f872b75848540a9abc7c3b99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20LUDWIG?= Date: Sun, 2 Jul 2023 17:56:13 +0200 Subject: [PATCH] fix: specify explicitly debian version with gcc --- templates/docker/c/Dockerfile | 2 +- templates/docker/cpp/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/docker/c/Dockerfile b/templates/docker/c/Dockerfile index 27e9b6d..0d56112 100644 --- a/templates/docker/c/Dockerfile +++ b/templates/docker/c/Dockerfile @@ -1,4 +1,4 @@ -FROM gcc:12.3.0 AS builder +FROM gcc:12.3.0-bullseye AS builder WORKDIR /usr/src/application COPY ./ ./ RUN gcc ./*.c* -o solution -Wall -Wextra -Wfloat-equal -Wundef -Werror -std=c17 -pedantic -pedantic-errors -O3 diff --git a/templates/docker/cpp/Dockerfile b/templates/docker/cpp/Dockerfile index 4c09587..14ed335 100644 --- a/templates/docker/cpp/Dockerfile +++ b/templates/docker/cpp/Dockerfile @@ -1,4 +1,4 @@ -FROM gcc:12.3.0 AS builder +FROM gcc:12.3.0-bullseye AS builder WORKDIR /usr/src/application COPY ./ ./ RUN g++ ./*.cpp* -o solution -Wall -Wextra -Wfloat-equal -Wundef -Werror -std=c++17 -pedantic -pedantic-errors -O3