Skip to content

Commit

Permalink
Update awscli installation
Browse files Browse the repository at this point in the history
awscli was no longer available, AWS docs suggest this method instead
  • Loading branch information
chriscn committed May 13, 2024
1 parent 6cf41d7 commit 6cce5a0
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu
FROM ubuntu:latest

LABEL version="1.1.1"

Expand All @@ -14,7 +14,10 @@ LABEL maintainer="Dan Miller <[email protected]>"
ENV TZ=Europe/London
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

RUN apt-get update && apt-get install -y awscli jq
RUN apt-get update && apt-get install -y curl unzip jq
RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
RUN unzip awscliv2.zip
RUN ./aws/install

ADD entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]

0 comments on commit 6cce5a0

Please sign in to comment.