-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use tools_image for AWS CLI to avoid need for ENTRYPOINT override
- Loading branch information
Showing
4 changed files
with
20 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,11 @@ | ||
FROM ubuntu:20.04 | ||
RUN apt-get -qq update && DEBIAN_FRONTEND=noninteractive apt-get -qq install -y aria2 | ||
RUN apt-get -qq update && DEBIAN_FRONTEND=noninteractive apt-get -qq install -y aria2 wget zip | ||
# Add AWS CLI v2. We'd prefer to use AWS' official image, but it sets ENTRYPOINT which some | ||
# container backends can't override (like...AWS Batch). | ||
RUN mkdir /tmp/awscli && cd /tmp/awscli \ | ||
&& wget -nv https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip \ | ||
&& unzip -q awscli-*.zip \ | ||
&& aws/install | ||
# clean up for squash | ||
RUN apt-get clean && rm -rf /tmp/awscli \ | ||
&& aria2c --version && aws --version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters