File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -12,19 +12,18 @@ ARG TARGETARCH
1212# Install cross compiler toolchains
1313RUN case "$TARGETARCH" in \
1414 amd64) true ;; \
15- arm64) apt-get -y update && apt-get install --no-install-recommends -y gcc-aarch64-linux-gnu binutils-aarch64-linux-gnu ;; \
15+ arm64) apt-get -y update && apt-get install --no-install-recommends -y binutils-aarch64-linux-gnu ;; \
1616 esac && rm -rf /var/lib/apt/lists/*
1717# Enable tokio runtime metrics
1818ENV RUSTFLAGS="--cfg tokio_unstable"
19- ENV AWS_LC_SYS_CFLAGS_aarch64_unknown_linux_gnu='-fuse-ld=/usr/aarch64-linux-gnu/bin/ld'
2019RUN --mount=type=cache,target=target \
2120 --mount=type=cache,target=/usr/local/cargo/registry \
2221 target=$(case "$TARGETARCH" in \
2322 amd64) echo x86_64-unknown-linux-musl ;; \
2423 arm64) echo aarch64-unknown-linux-musl ;; \
2524 *) echo "unsupported architecture: $TARGETARCH" >&2; exit 1 ;; \
2625 esac) && \
27- just-cargo profile=$BUILD_TYPE target=$target build --package=linkerd-policy-controller && \
26+ just-cargo CFLAGS_aarch64_unknown_linux_musl= "" profile=$BUILD_TYPE target=$target build --package=linkerd-policy-controller && \
2827 mv "target/$target/$BUILD_TYPE/linkerd-policy-controller" /tmp/
2928
3029FROM scratch AS runtime
You can’t perform that action at this time.
0 commit comments