~nickbp/originz

ref: a8d53481eaf10a685fbb4a4e98c49b13dfbc95ff originz/Dockerfile -rw-r--r-- 246 bytes
a8d53481Nick Parker Initialize scratch buffer size, not just capacity 1 year, 27 days ago
                                                                                
1
2
3
4
5
6
7
8
# Builds an image containing the kapiti binary and little else.
FROM rust:slim
COPY . /kapiti
RUN cd /kapiti && cargo build --all-targets --release

FROM debian:buster-slim
COPY --from=0 /kapiti/target/release/kapiti /kapiti
RUN chmod +x /kapiti