FROM rust:buster as builder RUN rustup default nightly COPY . /app WORKDIR /app RUN cargo build --release FROM archlinux RUN pacman -Syu --noconfirm openssl-1.1 COPY --from=builder /app/target/release/pacco /pacco WORKDIR / CMD ["/pacco"]