mirror of
https://github.com/yggdrasil-network/yggdrasil-go
synced 2024-11-09 23:20:26 +03:00
Update Dockerfile
Making easier to install and update, because dont have to download Github repository manually.
This commit is contained in:
parent
462af89600
commit
c2561c90c7
@ -1,16 +1,14 @@
|
||||
FROM docker.io/golang:alpine as builder
|
||||
FROM golang:alpine as builder
|
||||
|
||||
WORKDIR /src
|
||||
|
||||
RUN apk add git
|
||||
|
||||
RUN git clone https://github.com/yggdrasil-network/yggdrasil-go.git .
|
||||
|
||||
ENV CGO_ENABLED=0
|
||||
|
||||
RUN ./build
|
||||
RUN apk add git && \
|
||||
git clone https://github.com/yggdrasil-network/yggdrasil-go.git . && \
|
||||
./build
|
||||
|
||||
FROM docker.io/alpine
|
||||
FROM alpine
|
||||
LABEL maintainer="Christer Waren/CWINFO <christer.waren@cwinfo.org>"
|
||||
|
||||
COPY --from=builder /src/yggdrasil /usr/bin/yggdrasil
|
||||
|
Loading…
Reference in New Issue
Block a user