5
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2024-11-22 14:10:28 +00:00

Update Dockerfile

ENV CGO_ENABLED=0
This commit is contained in:
Christer Warén 2018-12-17 15:28:45 +02:00 committed by GitHub
parent 566f3a9d50
commit 712ec7d3fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,6 +2,9 @@ FROM docker.io/golang:alpine as builder
COPY . /src COPY . /src
WORKDIR /src WORKDIR /src
ENV CGO_ENABLED=0
RUN apk add git && ./build RUN apk add git && ./build
FROM docker.io/alpine FROM docker.io/alpine