update
This commit is contained in:
parent
69e1f5d458
commit
669b3724e1
8 changed files with 804 additions and 345 deletions
23
Containerfile
Normal file
23
Containerfile
Normal file
|
@ -0,0 +1,23 @@
|
|||
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
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
RUN cargo build --release
|
||||
|
||||
FROM git.hydrar.de/navos/navos:latest
|
||||
|
||||
RUN pacman-key --init && pacman-key --populate archlinux && pacman-key --populate archlinuxarm && pacman -Syu --noconfirm base-devel openssl-1.1 git curl rsync systemd arch-install-scripts podman
|
||||
|
||||
COPY ./pacman.conf /etc/pacman.conf
|
||||
|
||||
COPY --from=builder /app/target/release/pacco-makepkg /pacco-makepkg
|
||||
|
||||
WORKDIR /
|
||||
|
||||
CMD ["/pacco-makepkg", "build"]
|
Loading…
Add table
Add a link
Reference in a new issue