mirror of
https://github.com/wangyu-/UDPspeeder.git
synced 2025-11-26 22:55:37 +08:00
Docker build
This commit is contained in:
10
Dockerfile
Normal file
10
Dockerfile
Normal 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"]
|
||||
Reference in New Issue
Block a user