add go 1.23

This commit is contained in:
Quinten
2024-12-25 11:59:08 +01:00
committed by GitHub
parent 9ce202da7c
commit 2c20a9df7f
2 changed files with 13 additions and 0 deletions

12
go/1.23/Dockerfile Normal file
View File

@@ -0,0 +1,12 @@
FROM --platform=$TARGETOS/$TARGETARCH golang:1.23-alpine
RUN apk add --update --no-cache ca-certificates tzdata \
&& adduser -D -h /home/container container
USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
COPY ./../entrypoint.sh /entrypoint.sh
CMD [ "/bin/ash", "/entrypoint.sh" ]