Skip to content

Commit

Permalink
Ndcum 1315 (#5)
Browse files Browse the repository at this point in the history
* Adding Python 3.10 dockerfiles

* Updating github check action versions

---------

Co-authored-by: GitHub Actions <[email protected]>
  • Loading branch information
scott-lewis-nsidc and GitHub Actions authored Aug 29, 2024
1 parent 2c704c4 commit cacd07e
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
11 changes: 11 additions & 0 deletions Dockerfile.aws-sam-cli-build-image-python3.10
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM linuxbrew/brew:latest

RUN brew install groff
RUN brew install libyaml
RUN brew install [email protected]

RUN brew install zip
RUN brew install awscli

RUN brew tap aws/tap
RUN brew install aws-sam-cli
8 changes: 8 additions & 0 deletions Dockerfile.py310
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit cacd07e

Please sign in to comment.