Skip to content

Commit

Permalink
Merge pull request #29 from dabrun/emr-version-pytest
Browse files Browse the repository at this point in the history
Emr version pytest
  • Loading branch information
dacort committed Apr 26, 2023
2 parents 0617a55 + 185e9f2 commit a61f147
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion templates/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
// Update 'VARIANT' to pick an Debian version: bullseye, buster
// Use bullseye on local arm64/Apple Silicon.
"args": {
"RELEASE": "emr-6.6.0",
"RELEASE": "emr-6.10.0",
"RELEASE_TAG": "latest",
"REGION": "us-west-2",
"EMR_ACCOUNT_ID": "895885662937"
Expand Down
8 changes: 5 additions & 3 deletions templates/pyspark.dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# See here for image details: https://docs.aws.amazon.com/emr/latest/EMR-on-EKS-DevelopmentGuide/docker-custom-images-steps.html
# Arguments used to build the image URI - update to your desired region/EMR release version per the link above
ARG RELEASE="emr-6.6.0"
ARG RELEASE="emr-6.10.0"
ARG RELEASE_TAG="latest"
ARG REGION="us-west-2"
ARG EMR_ACCOUNT_ID="895885662937"
Expand Down Expand Up @@ -42,8 +42,10 @@ RUN if [ "$TARGETARCH" != "amd64" ]; then yum install -y gcc python3-devel; fi
# Upgrade pip first
RUN python3 -m pip install -U pip

# Enable Jupyter notebooks
RUN python3 -m pip install ipykernel
# Enable Jupyter notebooks and pytest
RUN python3 -m pip install \
ipykernel \
pytest

# Switch back to the default user
USER hadoop:hadoop

0 comments on commit a61f147

Please sign in to comment.