diff --git a/Dockerfile b/Dockerfile index 248c0e3..7d8fb13 100644 --- a/Dockerfile +++ b/Dockerfile @@ -52,7 +52,7 @@ COPY backend/ ./ COPY --from=frontend-builder /app/frontend/dist ./internal/web/dist # Build the binary with embed tag -RUN CGO_ENABLED=1 GOOS=linux go build \ +RUN GOTOOLCHAIN=auto CGO_ENABLED=1 GOOS=linux go build \ -tags embed \ -ldflags="-s -w" \ -o /app/codex-pool \ diff --git a/backend/go.mod b/backend/go.mod index 8cf0fa6..ddbf267 100644 --- a/backend/go.mod +++ b/backend/go.mod @@ -1,6 +1,8 @@ module codex-pool -go 1.23 +go 1.24.1 + +toolchain go1.24.6 require ( github.com/andybalholm/brotli v1.2.0 @@ -10,6 +12,7 @@ require ( github.com/chromedp/chromedp v0.14.2 github.com/go-rod/rod v0.116.2 github.com/go-rod/stealth v0.4.9 + github.com/mattn/go-sqlite3 v1.14.33 ) require ( @@ -23,7 +26,6 @@ require ( github.com/gobwas/pool v0.2.1 // indirect github.com/gobwas/ws v1.4.0 // indirect github.com/klauspost/compress v1.18.2 // indirect - github.com/mattn/go-sqlite3 v1.14.33 // indirect github.com/orisano/pixelmatch v0.0.0-20230914042517-fa304d1dc785 // indirect github.com/quic-go/qpack v0.6.0 // indirect github.com/tam7t/hpkp v0.0.0-20160821193359-2b70b4024ed5 // indirect @@ -36,5 +38,4 @@ require ( golang.org/x/net v0.48.0 // indirect golang.org/x/sys v0.39.0 // indirect golang.org/x/text v0.32.0 // indirect - gopkg.in/yaml.v3 v3.0.1 // indirect ) diff --git a/backend/go.sum b/backend/go.sum index 8d9480a..def0480 100644 --- a/backend/go.sum +++ b/backend/go.sum @@ -85,6 +85,5 @@ golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.32.0 h1:ZD01bjUt1FQ9WJ0ClOL5vxgxOI/sVCNgX1YtKwcY0mU= golang.org/x/text v0.32.0/go.mod h1:o/rUWzghvpD5TXrTIBuJU77MTaN0ljMWE47kxGJQ7jY= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=