Explorar el Código

Merge branch 'mod'

baz hace 5 años
padre
commit
cbdf48ec66
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      Dockerfile

+ 2 - 1
Dockerfile

@@ -2,7 +2,8 @@ FROM golang:1.11-alpine as builder
 RUN apk --no-cache add git gcc musl-dev
 WORKDIR /go/src/git.lattuga.net/boyska/feedpanel/
 COPY ./ /go/src/git.lattuga.net/boyska/feedpanel/
-RUN go get -v ./... && CGO_ENABLED=0 GOOS=linux go install ./...
+ENV GO111MODULES=on
+RUN go get ./... && CGO_ENABLED=0 GOOS=linux go install ./...
 
 FROM busybox
 WORKDIR /usr/bin/