mirror of
https://github.com/cathugger/mkp224o.git
synced 2025-04-22 14:59:11 +00:00
add Dockerfile
This commit is contained in:
parent
2b417046b6
commit
4e635f56d2
1 changed files with 11 additions and 0 deletions
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" ]
|
Loading…
Add table
Reference in a new issue