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

View File

@@ -25,6 +25,7 @@ jobs:
- '1.20' - '1.20'
- '1.21' - '1.21'
- '1.22' - '1.22'
- '1.23'
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: docker/setup-buildx-action@v3 - uses: docker/setup-buildx-action@v3

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