Files
test/Dockerfile
T

14 lines
266 B
Docker

FROM debian:bullseye as builder
MAINTAINER restitux <restitux@ohea.xyz
RUN apt-get update && apt-get install -y gcc
RUN mkdir /src
WORKDIR /src
COPY main.c /src/
RUN gcc main.c -o main
FROM debian:bullseye
COPY --from=builder /src/main /main
ENTRYPOINT ["/main"]