Skip to content

Commit 61d60a7

Browse files
committed
update rust image for cp-utility
1 parent 88e068b commit 61d60a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ RUN sed -i "/opentelemetry-exporter-otlp-proto-grpc/d" ./aws-opentelemetry-distr
2121
RUN mkdir workspace && pip install --target workspace ./aws-opentelemetry-distro
2222

2323
# Stage 2: Build the cp-utility binary
24-
FROM public.ecr.aws/docker/library/rust:1.87 AS builder
24+
FROM public.ecr.aws/docker/library/rust:1.89 AS builder
2525

2626
WORKDIR /usr/src/cp-utility
2727
COPY ./tools/cp-utility .
@@ -39,7 +39,7 @@ ARG TARGETARCH
3939
RUN if [ $TARGETARCH = "amd64" ]; then rustup component add rustfmt && cargo fmt --check ; fi
4040

4141
# Audit dependencies
42-
RUN if [ $TARGETARCH = "amd64" ]; then cargo install cargo-audit && cargo audit ; fi
42+
RUN if [ $TARGETARCH = "amd64" ]; then cargo install cargo-audit@0.21.0 && cargo audit ; fi
4343

4444

4545
# Cross-compile based on the target platform.

0 commit comments

Comments
 (0)