Skip to content

Commit 9ccf2d9

Browse files
committed
set -o pipefail to ensure that failyre in the pipe results in failure of step
1 parent 38f7694 commit 9ccf2d9

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
@@ -2,7 +2,7 @@ FROM public.ecr.aws/lambda/provided:al2
22

33
ARG RUST_VERSION=1.54.0
44
RUN yum install -y jq openssl-devel
5-
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs \
5+
RUN set -o pipefail && curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs \
66
| CARGO_HOME=/cargo RUSTUP_HOME=/rustup sh -s -- -y --profile minimal --default-toolchain $RUST_VERSION
77
ADD build.sh /usr/local/bin/
88
ADD latest.sh /usr/local/bin/

0 commit comments

Comments
 (0)