Changed from ubuntu:25.04 to debian:sid-slim
This commit is contained in:
parent
2e69b2e4cf
commit
aa141a8f22
16
Dockerfile
16
Dockerfile
@ -1,11 +1,17 @@
|
||||
FROM gcc:latest
|
||||
|
||||
RUN g++ src/*.cpp -o Bowling
|
||||
FROM gcc:latest AS build
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY include/* /app/include/
|
||||
COPY src/* /app/src/
|
||||
|
||||
RUN g++ src/*.cpp -o Bowling
|
||||
|
||||
FROM debian:sid-slim
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY --from=build /app/Bowling Bowling
|
||||
COPY rolls.txt /app/
|
||||
|
||||
#RUN g++ src/*.cpp -o Bowling
|
||||
|
||||
CMD ["./Bowling", "rolls.txt"]
|
||||
|
Loading…
Reference in New Issue
Block a user