From 081726e0165a27487c9715ef8750081b902c5138 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20SZKIBA?= Date: Tue, 12 Nov 2024 07:47:54 +0100 Subject: [PATCH] feat: add go tooling (k6lint build checker requires it) --- Dockerfile.goreleaser | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile.goreleaser b/Dockerfile.goreleaser index a030294..924e60c 100644 --- a/Dockerfile.goreleaser +++ b/Dockerfile.goreleaser @@ -1,7 +1,7 @@ -FROM debian:12.6-slim +FROM golang:1.22.9-alpine3.20 -RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates && update-ca-certificates && \ - addgroup --system --gid 127 docker && adduser --uid 1001 --gid 127 --disabled-password runner +RUN addgroup -g 127 -S docker && adduser -D -u 1001 -G docker runner && \ + apk update && apk add git COPY k6registry /usr/bin/