mirror of
https://github.com/theoludwig/programming-challenges.git
synced 2024-10-29 22:17:23 +01:00
fix: specify explicitly debian version with gcc
This commit is contained in:
parent
4e59513661
commit
c25eeaaa98
@ -1,4 +1,4 @@
|
|||||||
FROM gcc:12.3.0 AS builder
|
FROM gcc:12.3.0-bullseye AS builder
|
||||||
WORKDIR /usr/src/application
|
WORKDIR /usr/src/application
|
||||||
COPY ./ ./
|
COPY ./ ./
|
||||||
RUN gcc ./*.c* -o solution -Wall -Wextra -Wfloat-equal -Wundef -Werror -std=c17 -pedantic -pedantic-errors -O3
|
RUN gcc ./*.c* -o solution -Wall -Wextra -Wfloat-equal -Wundef -Werror -std=c17 -pedantic -pedantic-errors -O3
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
FROM gcc:12.3.0 AS builder
|
FROM gcc:12.3.0-bullseye AS builder
|
||||||
WORKDIR /usr/src/application
|
WORKDIR /usr/src/application
|
||||||
COPY ./ ./
|
COPY ./ ./
|
||||||
RUN g++ ./*.cpp* -o solution -Wall -Wextra -Wfloat-equal -Wundef -Werror -std=c++17 -pedantic -pedantic-errors -O3
|
RUN g++ ./*.cpp* -o solution -Wall -Wextra -Wfloat-equal -Wundef -Werror -std=c++17 -pedantic -pedantic-errors -O3
|
||||||
|
Loading…
Reference in New Issue
Block a user