update go version in docker file

This commit is contained in:
crapStone 2025-01-17 20:21:32 +01:00
parent ead959adf7
commit ebc1444efb
No known key found for this signature in database
GPG key ID: 22D4BF0CF7CC29C8

View file

@ -1,8 +1,8 @@
# Set the default Go version as a build argument
ARG XGO="go-1.21.x"
ARG XGO="go-1.23.x"
# Use xgo (a Go cross-compiler tool) as build image
FROM --platform=$BUILDPLATFORM techknowlogick/xgo:${XGO} as build
FROM --platform=$BUILDPLATFORM techknowlogick/xgo:${XGO} AS build
# Set the working directory and copy the source code
WORKDIR /go/src/codeberg.org/codeberg/pages