Skip to content

Commit db06fde

Browse files
authored
Update rustc version (#359)
*Description of changes:* PR Builds are failing: ``` #16 ERROR: process "/bin/sh -c if [ $TARGETARCH = \"amd64\" ]; then cargo install cargo-audit && cargo audit ; fi" did not complete successfully: exit code: 101 ------ > [builder 5/6] RUN if [ amd64 = "amd64" ]; then cargo install cargo-audit && cargo audit ; fi: 3.336 [email protected] requires rustc 1.82 3.336 [email protected] requires rustc 1.82 3.336 [email protected] requires rustc 1.82 3.336 [email protected] requires rustc 1.82 3.336 [email protected] requires rustc 1.82 3.336 [email protected] requires rustc 1.82 3.336 [email protected] requires rustc 1.82 3.336 [email protected] requires rustc 1.82 3.336 [email protected] requires rustc 1.82 3.336 Try re-running `cargo install` with `--locked` ------ 1 warning found (use docker --debug to expand): - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 36) Dockerfile:54 -------------------- 52 | 53 | # Audit dependencies 54 | >>> RUN if [ $TARGETARCH = "amd64" ]; then cargo install cargo-audit && cargo audit ; fi 55 | 56 | -------------------- ERROR: failed to solve: process "/bin/sh -c if [ $TARGETARCH = \"amd64\" ]; then cargo install cargo-audit && cargo audit ; fi" did not complete successfully: exit code: 101 ``` Updating rustc version to `1.82` By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
1 parent 6e438d6 commit db06fde

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ RUN sed -i "/opentelemetry-exporter-otlp-proto-grpc/d" ./aws-opentelemetry-distr
3333
RUN mkdir workspace && pip install setuptools==75.2.0 urllib3==2.2.3 --target workspace ./aws-opentelemetry-distro
3434

3535
# Stage 2: Build the cp-utility binary
36-
FROM public.ecr.aws/docker/library/rust:1.81 as builder
36+
FROM public.ecr.aws/docker/library/rust:1.82 as builder
3737

3838
WORKDIR /usr/src/cp-utility
3939
COPY ./tools/cp-utility .

0 commit comments

Comments
 (0)