diff --git a/Dockerfile b/Dockerfile index 00a12b4..4d380f5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,15 @@ FROM ubuntu:18.04 -RUN apt-get update && apt-get install -y --no-install-recommends curl cron awscli +RUN apt-get update && apt-get install -y --no-install-recommends curl cron ca-certificates unzip RUN rm -rf /var/lib/apt/lists/* +# Install awscliv2 https://docs.aws.amazon.com/cli/latest/userguide/install-cliv2-linux.html +RUN curl -sSL "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" +RUN unzip -q awscliv2.zip +RUN ./aws/install -i /usr/bin -b /usr/bin +RUN rm -rf ./aws awscliv2.zip +RUN aws --version + # https://docs.docker.com/engine/installation/linux/docker-ce/ubuntu/#install-using-the-convenience-script RUN curl -fsSL get.docker.com -o get-docker.sh RUN sh get-docker.sh