Merge pull request #14 from aiomaster/master

Fix a warning with getaddrinfo while compiling
This commit is contained in:
Pierre Zemb 2018-07-13 11:14:50 +02:00 committed by GitHub
commit 2a94360a50
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,7 +3,7 @@ FROM golang:latest as builder
WORKDIR /go/src/github.com/PierreZ/goStatic
COPY . .
RUN GOARCH=amd64 GOOS=linux go build -ldflags "-linkmode external -extldflags -static -w"
RUN GOARCH=amd64 GOOS=linux go build -tags netgo -installsuffix netgo -ldflags "-linkmode external -extldflags -static -w"
# stage 1
FROM centurylink/ca-certs