Commit 39d07323 authored by wangp's avatar wangp

1.6->1.7

parent 66d764c5
......@@ -14,7 +14,8 @@ WORKDIR /go/src/system_pay
COPY . .
# go env为查看go的环境变量, go build -o server . 为打包项目,二进制
RUN go env && go mod tidy && go build -o server .
# RUN go env && go mod tidy && go build -o server .
RUN go env && go mod tidy && go get -u golang.org/x/sys && go build -o server .
# ======= 以下为多阶段构建 =======
......@@ -31,11 +32,10 @@ RUN echo "http://mirrors.aliyun.com/alpine/v3.4/main/" > /etc/apk/repositories \
WORKDIR /go/src/system_pay
# 拷贝配置文件到当前工作目录
COPY --from=0 /go/src/system_pay/conf/test ./conf
COPY --from=0 /go/src/system_pay/vendor ./vendor
COPY --from=0 /go/src/system_pay/conf/test ./conf/test
# 拷贝打包好的server二进制文件到当前工作目录
# COPY --from=0 /go/src/system_pay/server ./
COPY --from=0 /go/src/system_pay/server ./
# 拷贝配置文件到当前工作目录
# COPY --from=0 /go/src/system_pay/conf ./conf
......
module system_pay
go 1.16
go 1.17
require (
github.com/astaxie/beego v1.12.3
github.com/pkg/errors v0.9.1
github.com/smartystreets/goconvey v1.8.0
)
require (
github.com/beorn7/perks v1.0.1 // indirect
github.com/cespare/xxhash/v2 v2.1.1 // indirect
github.com/golang/protobuf v1.4.2 // indirect
github.com/gopherjs/gopherjs v1.17.2 // indirect
github.com/hashicorp/golang-lru v0.5.4 // indirect
github.com/jtolds/gls v4.20.0+incompatible // indirect
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect
github.com/prometheus/client_golang v1.7.0 // indirect
github.com/prometheus/client_model v0.2.0 // indirect
github.com/prometheus/common v0.10.0 // indirect
github.com/prometheus/procfs v0.1.3 // indirect
github.com/shiena/ansicolor v0.0.0-20151119151921-a422bbe96644 // indirect
github.com/smartystreets/assertions v1.13.1 // indirect
golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 // indirect
golang.org/x/net v0.0.0-20210226172049-e18ecbb05110 // indirect
golang.org/x/sys v0.6.0 // indirect
golang.org/x/text v0.3.3 // indirect
google.golang.org/protobuf v1.23.0 // indirect
gopkg.in/yaml.v2 v2.2.8 // indirect
)
This diff is collapsed.
export runmode=dev
export BEEGO_MODE=dev
bee run -gendoc=true -downdoc=true
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment