Skip to content

Commit

Permalink
add go 1.23
Browse files Browse the repository at this point in the history
  • Loading branch information
QuintenQVD0 authored Dec 25, 2024
1 parent 9ce202d commit 2c20a9d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
- '1.20'
- '1.21'
- '1.22'
- '1.23'
steps:
- uses: actions/checkout@v4
- uses: docker/setup-buildx-action@v3
Expand Down
12 changes: 12 additions & 0 deletions go/1.23/Dockerfile
Original file line number Diff line number Diff line change
@@ -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" ]

0 comments on commit 2c20a9d

Please sign in to comment.