1
Files
Pinkbyte 97a2503a50
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/cron/build Pipeline was successful
Prevent building unneeded yggdrasil-mobile by setting explicitly what to build
2026-06-15 09:36:04 +03:00

13 lines
422 B
Docker

FROM rust:1.95.0-trixie AS builder
RUN apt -y update && apt -y install git
RUN git clone https://github.com/Revertron/Yggdrasil-ng.git /app
WORKDIR /app
RUN cargo build --release -p yggdrasil
FROM debian:trixie AS result
COPY --from=builder /app/target/release/yggdrasil /usr/bin
RUN mkdir /data && apt -y update && apt -y install iproute2 inetutils-ping && apt -y clean all
CMD /usr/bin/yggdrasil -c /data/config.toml