We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e0f5732 + 5e6a85b commit 7aa1ad4Copy full SHA for 7aa1ad4
1 file changed
Dockerfile
@@ -1,8 +1,8 @@
1
-FROM golang:1.8.0-alpine as build
+FROM golang:1.9-alpine as build
2
LABEL maintainer "Infinity Works"
3
4
-RUN apk --update add ca-certificates \
5
- && apk --update add --virtual build-deps git
+RUN apk --no-cache add ca-certificates \
+ && apk --no-cache add --virtual build-deps git
6
7
COPY ./ /go/src/github.com/infinityworks/github-exporter
8
WORKDIR /go/src/github.com/infinityworks/github-exporter
@@ -13,7 +13,7 @@ RUN go get \
13
14
FROM alpine:3.6
15
16
17
&& addgroup exporter \
18
&& adduser -S -G exporter exporter
19
USER exporter
0 commit comments