huangjiajun 2 months ago
parent
commit
d99edbc520
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      Dockerfile-task

+ 1
- 1
Dockerfile-task View File

@@ -14,7 +14,7 @@ WORKDIR /go/release
ADD . .

# 编译:把main.go编译成可执行的二进制文件,命名为zyos
RUN GOOS=linux CGO_ENABLED=0 GOARCH=amd64 go build -tags netgo -ldflags="-s -w" -installsuffix cgo -o zyos_order_task cmd/task/main.go
RUN GOOS=linux CGO_ENABLED=0 GOARCH=amd64 go build -tags netgo -ldflags="-s -w" -installsuffix cgo -o community_team_task cmd/task/main.go

FROM ubuntu:xenial as prod
LABEL maintainer="zengzhengrong"


Loading…
Cancel
Save