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 && \
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" ]