Created
March 9, 2023 14:19
-
-
Save darrenmeehan/3c3d63c020dfdd9be35b1013977d4340 to your computer and use it in GitHub Desktop.
Specific awscli version installed along with latest Python3 AWS Lambda base image
This file contains hidden or 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
FROM public.ecr.aws/lambda/python:3.9 | |
# Get the latest version from https://raw.githubusercontent.com/aws/aws-cli/v2/CHANGELOG.rst | |
ARG AWSCLI_VERSION="2.11.1" | |
RUN yum update && yum install unzip -y | |
RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64-2.0.30.zip" -o "awscliv2.zip" \ | |
&& unzip awscliv2.zip \ | |
&& ./aws/install \ | |
&& rm -rf ./aws |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment