File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change 1- # https://github.com/lambci/docker-lambda#documentation
2- FROM docker.io/lambci/lambda:build-provided.al2
1+ FROM public.ecr.aws/lambda/provided:al2
32
43ARG RUST_VERSION=1.54.0
5- RUN yum -y update
6- RUN yum -y remove kernel-devel-4.14.203-156.332.amzn2
74RUN yum install -y jq openssl-devel
8- 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 \
96 | CARGO_HOME=/cargo RUSTUP_HOME=/rustup sh -s -- -y --profile minimal --default-toolchain $RUST_VERSION
10- ADD build.sh /usr/local/bin/
11- ADD latest.sh /usr/local/bin/
7+ COPY build.sh /usr/local/bin/
8+ COPY latest.sh /usr/local/bin/
129VOLUME ["/code" ]
1310WORKDIR /code
1411ENTRYPOINT ["/usr/local/bin/build.sh" ]
You can’t perform that action at this time.
0 commit comments