Skip to content

Commit

Permalink
ci: disabe CGO_ENABLED
Browse files Browse the repository at this point in the history
  • Loading branch information
whatwewant committed Apr 7, 2023
1 parent e59b99a commit d4df38b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,17 @@ RUN go mod download

COPY . .

RUN GOOS=linux \
RUN CGO_ENABLED=0 \
GOOS=linux \
GOARCH=amd64 \
go build \
-trimpath \
-ldflags '-w -s -buildid=' \
-v -o chatgpt-for-chatbot-feishu

# Server
# FROM whatwewant/go:v1.20-1
FROM whatwewant/zmicro:v1
FROM whatwewant/go:v1.20-1
# FROM whatwewant/zmicro:v1

LABEL MAINTAINER="Zero<[email protected]>"

Expand Down

0 comments on commit d4df38b

Please sign in to comment.