upgrade alpine version -> 3.17

This commit is contained in:
Haitao Pan 2022-12-27 12:24:16 +08:00
parent deae2c9cf6
commit ad4b04a241

View File

@ -5,7 +5,7 @@ COPY . .
RUN go get && CGO_ENABLED=0 go build -v -o "./dist/bin/prometheus-to-cloudwatch" *.go
FROM alpine:3.8
FROM alpine:3.17
RUN apk add --no-cache ca-certificates
COPY --from=builder /go/src/github.com/cloudposse/prometheus-to-cloudwatch/dist/bin/prometheus-to-cloudwatch /usr/bin/prometheus-to-cloudwatch
ENV PATH $PATH:/usr/bin