diff --git a/Dockerfile b/Dockerfile index 39c33f8..1c3f206 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ RUN yarn install && yarn run build ### BUILD TORRSERVER MULTIARCH START ### -FROM --platform=$BUILDPLATFORM golang:1.20-alpine as builder +FROM --platform=$BUILDPLATFORM golang:1.21.2-alpine as builder COPY . /opt/src COPY --from=front /app/build /opt/src/web/build diff --git a/server/version/version.go b/server/version/version.go index 07d7a45..4a19911 100644 --- a/server/version/version.go +++ b/server/version/version.go @@ -9,7 +9,6 @@ import ( const Version = "MatriX.126.XO" func GetTorrentVersion() string { - // _ = torrent.NewDefaultClientConfig() bi, ok := debug.ReadBuildInfo() if !ok { log.Printf("Failed to read build info")