Skip to content

Commit

Permalink
update aws sam sha256
Browse files Browse the repository at this point in the history
  • Loading branch information
cameroncaci committed Nov 2, 2023
1 parent 0161772 commit 5db7098
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,10 @@ ENV PATH /opt/maven/bin:$PATH

# install aws sam
ARG SAM_VERSION=1.97.0
ARG SAM_SHA256SUM=807095974f7c98d9061907302c5adceac7adf7b8957aad04040fc2acf8d6f552
ARG SAM_SHA256SUM=0810f3290373e20df480b56faf5e9e77e25870825dbab521758258a24aa470d9
RUN set -ex && cd ~ \
&& curl -sSL "https://github.com/aws/aws-sam-cli/releases/download/${SAM_VERSION}/aws-sam-cli-linux-x86_64.zip" -o "aws-sam-cli-linux-x86_64.zip" \
&& echo "${SAM_SHA256SUM} aws-sam-cli-linux-x86_64.zip" | sha256sum -c - \
&& [ $(sha256sum aws-sam-cli-linux-x86_64.zip | cut -f1 -d' ') = ${SAM_SHA256SUM} ] \
&& unzip "aws-sam-cli-linux-x86_64.zip" -d "/tmp/sam-installation" \
&& "/tmp/sam-installation/install" \
&& sam --version
Expand Down

0 comments on commit 5db7098

Please sign in to comment.