Skip to content

Commit

Permalink
Merge pull request #86 from grafana/use-alpine-image
Browse files Browse the repository at this point in the history
use alpine as base image
  • Loading branch information
pablochacin authored Jan 29, 2024
2 parents 318ace3 + 0b4ab46 commit 7028164
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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 && \
Expand Down

0 comments on commit 7028164

Please sign in to comment.