Skip to content

Commit

Permalink
Download binary
Browse files Browse the repository at this point in the history
  • Loading branch information
habibimustafa authored Nov 26, 2024
1 parent 59d0eb7 commit fa75d61
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM public.ecr.aws/amazonlinux/amazonlinux:2 as installer

Check warning on line 1 in Dockerfile

View workflow job for this annotation

GitHub Actions / build

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/
ARG EXE_FILENAME=awscli-exe-linux-x86_64.zip
COPY $EXE_FILENAME .
ARG VERSION="2.22.5"
RUN yum update -y \
&& yum install -y unzip \
&& unzip $EXE_FILENAME \
&& yum install -y curl unzip \
&& curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64-${VERSION}.zip" -o awscliv2.zip \
&& unzip awscliv2.zip \
# The --bin-dir is specified so that we can copy the
# entire bin directory from the installer stage into
# into /usr/local/bin of the final stage without
Expand Down

0 comments on commit fa75d61

Please sign in to comment.