Skip to content

Commit

Permalink
update golang
Browse files Browse the repository at this point in the history
  • Loading branch information
sstarcher committed Jan 17, 2020
1 parent 2713237 commit b5f1c4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM golang:1.12 as builder
FROM golang:1.13 as builder

WORKDIR /go/src/github.com/sstarcher/helm-exporter
COPY . /go/src/github.com/sstarcher/helm-exporter

RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o /go/bin/helm-exporter /go/src/github.com/sstarcher/helm-exporter/main.go

FROM alpine:3.10
FROM alpine:3
RUN apk --update add ca-certificates
RUN addgroup -S helm-exporter && adduser -S -G helm-exporter helm-exporter
USER helm-exporter
Expand Down

0 comments on commit b5f1c4f

Please sign in to comment.