diff --git a/Dockerfile b/Dockerfile index 206ee02..f334b21 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Multi-stage build to generate custom k6 with extension -FROM golang:1.17-alpine as builder +FROM golang:1.19-alpine as builder WORKDIR $GOPATH/src/go.k6.io/k6 ADD . . RUN apk --no-cache add git @@ -9,7 +9,7 @@ RUN CGO_ENABLED=0 xk6 build \ --output /tmp/k6 # Create image for running k6 with output for Prometheus Remote Write -FROM alpine:3.15 +FROM alpine:3.16 RUN apk add --no-cache ca-certificates \ && adduser -D -u 12345 -g 12345 k6 COPY --from=builder /tmp/k6 /usr/bin/k6