Skip to content

Commit 7aa1ad4

Browse files
authored
Merge pull request #27 from ben-st/patch-1
bump version, change --no-cache
2 parents e0f5732 + 5e6a85b commit 7aa1ad4

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
FROM golang:1.8.0-alpine as build
1+
FROM golang:1.9-alpine as build
22
LABEL maintainer "Infinity Works"
33

4-
RUN apk --update add ca-certificates \
5-
&& apk --update add --virtual build-deps git
4+
RUN apk --no-cache add ca-certificates \
5+
&& apk --no-cache add --virtual build-deps git
66

77
COPY ./ /go/src/github.com/infinityworks/github-exporter
88
WORKDIR /go/src/github.com/infinityworks/github-exporter
@@ -13,7 +13,7 @@ RUN go get \
1313

1414
FROM alpine:3.6
1515

16-
RUN apk --update add ca-certificates \
16+
RUN apk --no-cache add ca-certificates \
1717
&& addgroup exporter \
1818
&& adduser -S -G exporter exporter
1919
USER exporter

0 commit comments

Comments
 (0)