update Dockerfile to support GO111MODULE

This commit is contained in:
xtaci
2019-09-22 18:06:09 +08:00
parent 903cb9f9f1
commit 9004bf3170
+1
View File
@@ -1,5 +1,6 @@
FROM golang:alpine as builder
MAINTAINER xtaci <daniel820313@gmail.com>
ENV GO111MODULE=on
RUN apk update && \
apk upgrade && \
apk add git gcc libc-dev linux-headers