diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 988e818..64720f5 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -6,8 +6,8 @@ jobs: lint_and_test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 with: python-version: '3.8.x' - run: pip install shellcheck-py 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