diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 89708019e..fdfaf6bbe 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -25,6 +25,7 @@ jobs: - '1.20' - '1.21' - '1.22' + - '1.23' steps: - uses: actions/checkout@v4 - uses: docker/setup-buildx-action@v3 diff --git a/go/1.23/Dockerfile b/go/1.23/Dockerfile new file mode 100644 index 000000000..82d2f7402 --- /dev/null +++ b/go/1.23/Dockerfile @@ -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" ]