Fix arm build (#7780)

Signed-off-by: Kevin Leimkuhler <kleimkuhler@icloud.com>
This commit is contained in:
Kevin Leimkuhler 2022-02-03 19:53:58 -07:00 committed by GitHub
parent e79bd72dbd
commit 788231deee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ COPY Cargo.toml Cargo.lock policy-controller/ /build/
RUN --mount=type=cache,target=target \
--mount=type=cache,from=rust:1.56.1,source=/usr/local/cargo,target=/usr/local/cargo \
cargo build --locked --release --target=armv7-unknown-linux-gnueabihf \
--package=linkerd-policy-controller --no-default-features --features="rustls" && \
--package=linkerd-policy-controller --no-default-features --features="rustls-tls" && \
mv target/armv7-unknown-linux-gnueabihf/release/linkerd-policy-controller /tmp/
FROM --platform=linux/arm $RUNTIME_IMAGE