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.
1 parent 506c55a commit 079aeb0Copy full SHA for 079aeb0
Dockerfile
@@ -1,4 +1,4 @@
1
-FROM golang:1.15.4-alpine3.12 as build
+FROM golang:1.18.2 as build
2
3
COPY ./ /go/src/github.com/chatwork/sendgrid-stats-exporter
4
WORKDIR /go/src/github.com/chatwork/sendgrid-stats-exporter
@@ -7,12 +7,12 @@ RUN go mod download \
7
# && go test ./... \
8
&& CGO_ENABLED=0 GOOS=linux go build -o /bin/exporter
9
10
-FROM alpine:3.12
+FROM alpine:3.15
11
12
RUN apk --no-cache add ca-certificates \
13
&& addgroup exporter \
14
&& adduser -S -G exporter exporter
15
USER exporter
16
COPY --from=build /bin/exporter /bin/exporter
17
18
-ENTRYPOINT [ "/bin/exporter" ]
+ENTRYPOINT [ "/bin/exporter" ]
0 commit comments