add go 1.23
This commit is contained in:
12
go/1.23/Dockerfile
Normal file
12
go/1.23/Dockerfile
Normal 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" ]
|
Reference in New Issue
Block a user