File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ pipeline:
77 image : ghcr.io/ldproxy/golang-jdk:1.2
88 commands :
99 - cd xtractl
10- - GOOS=linux GOARCH=amd64 go build -ldflags="-s -w" -o dist/linux-amd64/xtractl
11- - GOOS=linux GOARCH=arm64 go build -ldflags="-s -w" -o dist/linux-arm64/xtractl
10+ - CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags="-s -w" -o dist/linux-amd64/xtractl
11+ - CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -ldflags="-s -w" -o dist/linux-arm64/xtractl
1212
1313# upx:
1414# image: harshavardhanj/upx:3.95
Original file line number Diff line number Diff line change 1- FROM alpine
2- # FROM ghcr.io/ldproxy/ni-base:11
1+ FROM ghcr.io/ldproxy/ni-base:11
32ARG TARGETOS
43ARG TARGETARCH
54COPY ./$TARGETOS-$TARGETARCH/xtractl /xtractl
65WORKDIR /src
7- RUN ls -l /
86ENTRYPOINT ["/xtractl" ]
You can’t perform that action at this time.
0 commit comments