We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c8ee65d + 397fade commit 70f8e93Copy full SHA for 70f8e93
Dockerfile
@@ -1,7 +1,7 @@
1
# From https://github.com/jahkeup/updater53/blob/master/Dockerfile
2
###############################################################################
3
4
-FROM golang:1.8 as builder
+FROM golang:1.14.6-alpine3.12 as builder
5
6
WORKDIR /go/src/github.com/SumoLogic/docker-logging-driver
7
COPY . .
@@ -10,7 +10,9 @@ ARG GOOS=linux
10
ARG GOARCH=amd64
11
ARG GOARM=
12
13
-RUN go get -d -v ./...
+RUN apk add --no-cache git mercurial \
14
+ && go get -d -v ./... \
15
+ && apk del git mercurial
16
RUN CGO_ENABLED=0 go build -v -a -installsuffix cgo -o docker-logging-driver
17
18
0 commit comments