Skip to content

Commit 6c6dbcd

Browse files
committed
fixup! Use Signed Binaries for Docker Build
1 parent c3eea89 commit 6c6dbcd

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.pipelines/build/scripts/ipv6-hp-bpf.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,13 @@ mkdir -p "$OUT_DIR"/lib
1313
if [[ -f /etc/debian_version ]];then
1414
apt-get update -y
1515
apt-get install -y llvm clang linux-libc-dev linux-headers-generic libbpf-dev libc6-dev nftables iproute2
16-
if [[ $ARCH =~ amd64 ]]; then
16+
if [[ $GOARCH =~ amd64 ]]; then
1717
apt-get install -y gcc-multilib build-essential binutils
1818

1919
ARCH=x86_64-linux-gnu
2020
cp /usr/lib/"$ARCH"/ld-linux-x86-64.so.2 "$OUT_DIR"/lib/
21-
cp /usr/lib/aarch64-linux-gnu/ld-linux-aarch64.so.1 "$OUT_DIR"/lib/ || echo "Skipped."
2221

23-
elif [[ $ARCH =~ arm64 ]]; then
22+
elif [[ $GOARCH =~ arm64 ]]; then
2423
apt-get install -y gcc-aarch64-linux-gnu
2524

2625
ARCH=aarch64-linux-gnu

0 commit comments

Comments
 (0)