pacco/Dockerfile

19 lines
247 B
Text
Raw Normal View History

2024-12-26 01:07:43 +01:00
FROM rust:buster as builder
RUN rustup default nightly
COPY . /app
WORKDIR /app
RUN cargo build --release
FROM archlinux
2024-12-27 04:38:47 +01:00
RUN pacman -Syu --noconfirm openssl-1.1
2024-12-26 01:07:43 +01:00
COPY --from=builder /app/target/release/pacco /pacco
WORKDIR /
CMD ["/pacco"]