mirror of
https://github.com/cathugger/mkp224o.git
synced 2026-01-26 19:22:09 -06:00
add Dockerfile
This commit is contained in:
11
Dockerfile
Normal file
11
Dockerfile
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
FROM debian:bookworm as builder
|
||||||
|
WORKDIR /app
|
||||||
|
RUN apt-get update && apt-get install -y gcc libc6-dev libsodium-dev make autoconf
|
||||||
|
COPY . .
|
||||||
|
RUN ./autogen.sh && ./configure --enable-amd64-51-30k LDFLAGS=-static
|
||||||
|
RUN make
|
||||||
|
|
||||||
|
FROM debian:bookworm-slim
|
||||||
|
WORKDIR /app
|
||||||
|
COPY --from=builder /app/mkp224o .
|
||||||
|
CMD [ "./mkp224o" ]
|
||||||
Reference in New Issue
Block a user