git://wamblee.org
/
pipelinelib
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
066d776
)
added jq to the docker image
master
author
Erik Brakkee
<erik@brakkee.org>
Tue, 19 Nov 2024 19:45:30 +0000
(20:45 +0100)
committer
Erik Brakkee
<erik@brakkee.org>
Tue, 19 Nov 2024 19:45:30 +0000
(20:45 +0100)
images/go-1-23-2/Dockerfile
patch
|
blob
|
history
diff --git
a/images/go-1-23-2/Dockerfile
b/images/go-1-23-2/Dockerfile
index d3af2f23795b6f0190df80248a0b139e8b87b67b..89cb53f56773487c0a9ab33052ffae1ddd44e8a3 100644
(file)
--- 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
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 && \
# 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
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
USER ci
ENV GOCACHE=/cache/gocache
ENV GOMODCACHE=/cache/gomodcache
+ENV GOPATH=/cache/go
ENTRYPOINT ["tail", "-f", "/dev/null" ]
ENTRYPOINT ["tail", "-f", "/dev/null" ]