diff --git a/Dockerfile.aws-sam-cli-build-image-python3.10 b/Dockerfile.aws-sam-cli-build-image-python3.10 new file mode 100644 index 0000000..2c63491 --- /dev/null +++ b/Dockerfile.aws-sam-cli-build-image-python3.10 @@ -0,0 +1,11 @@ +FROM linuxbrew/brew:latest + +RUN brew install groff +RUN brew install libyaml +RUN brew install python@3.10 + +RUN brew install zip +RUN brew install awscli + +RUN brew tap aws/tap +RUN brew install aws-sam-cli diff --git a/Dockerfile.py310 b/Dockerfile.py310 new file mode 100644 index 0000000..c42c575 --- /dev/null +++ b/Dockerfile.py310 @@ -0,0 +1,8 @@ +FROM nsidc/aws-sam-cli-build-image-python3.10:latest + +RUN curl -sSL https://install.python-poetry.org | python3 - +ENV PATH "$PATH:/root/.local/bin" + +COPY sam_build.sh /sam_build.sh + +CMD /sam_build.sh