mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-01-18 08:37:54 +00:00
update go version in docker file
This commit is contained in:
parent
ead959adf7
commit
ebc1444efb
1 changed files with 2 additions and 2 deletions
|
@ -1,8 +1,8 @@
|
||||||
# Set the default Go version as a build argument
|
# 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
|
# 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
|
# Set the working directory and copy the source code
|
||||||
WORKDIR /go/src/codeberg.org/codeberg/pages
|
WORKDIR /go/src/codeberg.org/codeberg/pages
|
||||||
|
|
Loading…
Reference in a new issue