feat: update go version

This commit is contained in:
zhuyasen
2025-04-12 18:32:39 +08:00
parent 5114c99d31
commit e58d203944
5 changed files with 5 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
# Need to package the code first `tar zcf serverNameExample.tar.gz $(ls)` and move it to the same directory as Dokerfile
# Compile the go code, you can specify the golang version
FROM golang:1.22-alpine as build
FROM golang:1.23-alpine as build
COPY . /go/src/serverNameExample
WORKDIR /go/src/serverNameExample
RUN tar zxf serverNameExample.tar.gz

View File

@@ -1,6 +1,6 @@
# Need to package the code first `tar zcf serverNameExample.tar.gz $(ls)` and move it to the same directory as Dokerfile
# rpc server source code, used to test rpc methods
FROM golang:1.22-alpine
FROM golang:1.23-alpine
MAINTAINER zhufuyi "g.zhufuyi@gmail.com"
# go test dependency packages