This commit is contained in:
JMARyA 2025-06-28 03:08:16 +02:00
parent 69e1f5d458
commit 669b3724e1
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263
8 changed files with 804 additions and 345 deletions

View file

@ -1,24 +0,0 @@
FROM rust:buster as builder
RUN rustup default nightly
COPY ./Cargo.toml /app/Cargo.toml
COPY ./Cargo.lock /app/Cargo.lock
COPY ./src /app/src
COPY ./migrations /app/migrations
WORKDIR /app
RUN cargo build --release
FROM archlinux
RUN pacman -Syu --noconfirm base-devel openssl-1.1 git curl rsync systemd arch-install-scripts
COPY ./pacman.conf /etc/pacman.conf
COPY --from=builder /app/target/release/pacco-makepkg /pacco-makepkg
WORKDIR /
CMD ["/pacco-makepkg"]