diff --git a/Dockerfile b/Dockerfile index 846f887..de17125 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ -ARG GO_VERSION=1.20.11 -ARG VARIANT=bookworm +ARG GO_VERSION=1.21.6 +ARG VARIANT=alpine3.18 FROM golang:${GO_VERSION}-${VARIANT} as builder WORKDIR /build @@ -18,7 +18,7 @@ RUN addgroup --gid 1000 xk6 && \ ARG FIXUID_VERSION=0.6.0 RUN USER=xk6 && \ GROUP=xk6 && \ - curl -fSsL https://github.com/boxboat/fixuid/releases/download/v${FIXUID_VERSION}/fixuid-${FIXUID_VERSION}-linux-amd64.tar.gz | tar -C /usr/local/bin -xzf - && \ + wget -q -O - https://github.com/boxboat/fixuid/releases/download/v${FIXUID_VERSION}/fixuid-${FIXUID_VERSION}-linux-amd64.tar.gz | tar -C /usr/local/bin -xzf - && \ chown root:root /usr/local/bin/fixuid && \ chmod 4755 /usr/local/bin/fixuid && \ mkdir -p /etc/fixuid && \