Skip to content

Commit 4ea2955

Browse files
committed
build
1 parent 6729eab commit 4ea2955

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.woodpecker/xtractl-snapshot.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

xtractl/Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
FROM alpine
2-
# FROM ghcr.io/ldproxy/ni-base:11
1+
FROM ghcr.io/ldproxy/ni-base:11
32
ARG TARGETOS
43
ARG TARGETARCH
54
COPY ./$TARGETOS-$TARGETARCH/xtractl /xtractl
65
WORKDIR /src
7-
RUN ls -l /
86
ENTRYPOINT ["/xtractl"]

0 commit comments

Comments
 (0)