From: Erik Brakkee Date: Tue, 19 Nov 2024 19:45:30 +0000 (+0100) Subject: added jq to the docker image X-Git-Url: http://wamblee.org/gitweb/?a=commitdiff_plain;ds=sidebyside;p=pipelinelib added jq to the docker image --- diff --git a/images/go-1-23-2/Dockerfile b/images/go-1-23-2/Dockerfile index d3af2f2..89cb53f 100644 --- a/images/go-1-23-2/Dockerfile +++ b/images/go-1-23-2/Dockerfile @@ -1,6 +1,6 @@ FROM golang:1.23.3-alpine3.20 -RUN apk update && apk add curl +RUN apk update && apk add curl jq openssl wget git # if templ cannot be obtained: quick fix, remove this statement and run make, then build the image. RUN curl -L https://github.com/a-h/templ/releases/download/v0.2.747/templ_Linux_x86_64.tar.gz -o templ.tar.gz && \ @@ -21,8 +21,11 @@ RUN addgroup -g 1000 ci && \ addgroup -g 2375 docker-external && \ adduser ci docker-external +ENV PATH=$PATH:/cache/go/bin + USER ci ENV GOCACHE=/cache/gocache ENV GOMODCACHE=/cache/gomodcache +ENV GOPATH=/cache/go ENTRYPOINT ["tail", "-f", "/dev/null" ]