Skip to content

Commit 53eeb49

Browse files
authored
fix(ingress): set CGO_ENABLED=0 in Dockerfile (#436)
1 parent 8df5f4d commit 53eeb49

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

components/ingress/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ COPY components/ingress/. ./components/ingress
3636

3737
WORKDIR /build/components/ingress
3838

39-
RUN go build \
39+
RUN CGO_ENABLED=0 go build \
4040
-ldflags "-X 'github.com/alibaba/opensandbox/internal/version.Version=${VERSION}' \
4141
-X 'github.com/alibaba/opensandbox/internal/version.BuildTime=${BUILD_TIME}' \
4242
-X 'github.com/alibaba/opensandbox/internal/version.GitCommit=${GIT_COMMIT}'" \

0 commit comments

Comments
 (0)