mirror of
https://github.com/cathugger/mkp224o.git
synced 2025-05-25 11:22:22 +00:00
This is so that you can add args without docker assuming you're trying to override the command
11 lines
318 B
Docker
11 lines
318 B
Docker
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 .
|
|
ENTRYPOINT [ "./mkp224o" ]
|