1
1
mirror of https://github.com/theoludwig/programming-challenges.git synced 2025-05-18 12:02:53 +02:00

build(deps): update latest

This commit is contained in:
2023-09-16 14:38:47 +02:00
parent 142dc9d1dd
commit 21f19c8a9f
12 changed files with 354 additions and 298 deletions

View File

@ -1,9 +1,9 @@
FROM gcc:12.3.0-bullseye AS builder
FROM gcc:13.2.0-bookworm AS builder
WORKDIR /usr/src/application
COPY ./ ./
RUN gcc ./*.c* -o solution -Wall -Wextra -Wfloat-equal -Wundef -Werror -std=c17 -pedantic -pedantic-errors -O3
FROM gcr.io/distroless/cc-debian11:latest AS runner
FROM gcr.io/distroless/cc-debian12:latest AS runner
WORKDIR /usr/src/application
COPY --from=builder /usr/src/application/solution ./
CMD ["./solution"]