1
1
mirror of https://github.com/theoludwig/programming-challenges.git synced 2024-07-18 02:20:12 +02:00

fix: specify explicitly debian version with gcc

This commit is contained in:
Théo LUDWIG 2023-07-02 17:56:13 +02:00
parent 4e59513661
commit c25eeaaa98
Signed by: theoludwig
GPG Key ID: ADFE5A563D718F3B
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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