File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -4,19 +4,14 @@ ARG BASE=public.ecr.aws/ubuntu/ubuntu:24.04
4
4
5
5
# ##
6
6
7
- FROM --platform=$BUILDPLATFORM public.ecr.aws/docker/library/rust:1.77-slim-bullseye as build-healthz
8
- RUN rustup target add aarch64-unknown-linux-gnu
9
- RUN apt-get update \
10
- && DEBIAN_FRONTEND=noninteractive apt-get install -y \
11
- gcc-aarch64-linux-gnu
7
+ FROM public.ecr.aws/docker/library/rust:1.77-slim-bullseye as build-healthz
12
8
13
9
WORKDIR /build/healthz
14
10
COPY healthz/ ./
15
11
16
12
RUN --mount=type=cache,target=/usr/local/cargo/registry \
17
13
--mount=type=cache,target=/build/healthz/target \
18
- CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER=aarch64-linux-gnu-gcc \
19
- cargo install --path . --root /app --locked --target=aarch64-unknown-linux-gnu
14
+ cargo install --path . --root /app --locked
20
15
21
16
# ##
22
17
You can’t perform that action at this time.
0 commit comments