File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 1
1
FROM ubuntu:18.04
2
2
3
- RUN apt-get update && apt-get install -y --no-install-recommends curl cron awscli
3
+ RUN apt-get update && apt-get install -y --no-install-recommends curl cron ca-certificates unzip
4
4
RUN rm -rf /var/lib/apt/lists/*
5
5
6
+ # Install awscliv2 https://docs.aws.amazon.com/cli/latest/userguide/install-cliv2-linux.html
7
+ RUN curl -sSL "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
8
+ RUN unzip -q awscliv2.zip
9
+ RUN ./aws/install -i /usr/bin -b /usr/bin
10
+ RUN rm -rf ./aws awscliv2.zip
11
+ RUN aws --version
12
+
6
13
# https://docs.docker.com/engine/installation/linux/docker-ce/ubuntu/#install-using-the-convenience-script
7
14
RUN curl -fsSL get.docker.com -o get-docker.sh
8
15
RUN sh get-docker.sh
You can’t perform that action at this time.
0 commit comments