Enables module-mode in Docker to fix build
This commit is contained in:
parent
759cd019be
commit
ee4967acd4
|
@ -1,4 +1,5 @@
|
|||
FROM golang:1.12 as builder
|
||||
ENV GO111MODULE=on
|
||||
WORKDIR /go/src/github.com/cloudflare/cloudflared/
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends upx
|
||||
# Run after `apt-get update` to improve rebuild scenarios
|
||||
|
|
Loading…
Reference in New Issue