Skip to content

Commit 04c97c1

Browse files
committed
chore: disable CGO in the docker image build
Signed-off-by: Peefy <xpf6677@163.com>
1 parent 3b4d827 commit 04c97c1

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ WORKDIR /app
77

88
COPY . .
99

10-
RUN GOOS=linux GOARCH=amd64 go build -o kustomize-kcl
10+
ENV CGO_ENABLED=0
11+
RUN go build -o kustomize-kcl
1112

1213
FROM kcllang/kcl
1314

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.10.1
1+
0.10.2

0 commit comments

Comments
 (0)