Docker build

This commit is contained in:
Philipp Riederer
2022-08-21 22:55:10 +02:00
parent af607e4bfa
commit 9546582875
3 changed files with 42 additions and 0 deletions

10
Dockerfile Normal file
View File

@@ -0,0 +1,10 @@
FROM debian:bullseye-20220711 AS builder
RUN apt-get update && apt-get install -y build-essential git
COPY . /src
WORKDIR /src
RUN make -f makefile
FROM gcr.io/distroless/base-debian11
COPY --from=builder /src/speederv2 /
ENTRYPOINT ["/speederv2"]