mirror of
https://github.com/zhufuyi/sponge.git
synced 2025-11-01 04:53:06 +08:00
feat: update go version
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user