mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-30 07:05:06 +03:00
13 lines
216 B
Docker
13 lines
216 B
Docker
FROM golang as builder
|
|
|
|
WORKDIR /src
|
|
COPY . .
|
|
RUN CGO_ENABLED=0 ./build
|
|
|
|
FROM scratch
|
|
|
|
COPY --from=builder /var/run /var/run
|
|
COPY --from=builder /src/yggdrasil /yggdrasil
|
|
|
|
ENTRYPOINT ["/yggdrasil"]
|
|
CMD ["-autoconf"]
|