From 6f02e52f88fbeb76a348864538a0b82ce08a1700 Mon Sep 17 00:00:00 2001 From: Erik Brakkee Date: Tue, 19 Nov 2024 20:45:30 +0100 Subject: [PATCH] added jq to the docker image --- images/go-1-23-2/Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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" ] -- 2.31.1