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