sheepd/Dockerfile
JMARyA 3af7b892b2
All checks were successful
ci/woodpecker/push/build Pipeline was successful
docker
2025-05-05 05:17:11 +02:00

18 lines
408 B
Docker

FROM rust:buster AS builder
RUN rustup default nightly
COPY . /app
WORKDIR /app
RUN cargo build --release --bin herd --features herd
FROM git.hydrar.de/navos/navos:latest
RUN pacman-key --init && pacman-key --populate archlinux && pacman-key --populate navos && pacman -Syu --noconfirm && pacman -Syu --noconfirm openssl-1.1
COPY --from=builder /app/target/release/herd /herd
WORKDIR /
CMD ["/herd"]