Skip to content

Commit

Permalink
Merge pull request #271 from GeoscienceAustralia/upgrade_to_awscliv2
Browse files Browse the repository at this point in the history
Upgrade to v2 of awscli
  • Loading branch information
benjimin authored Oct 9, 2023
2 parents 40a29a6 + ae53818 commit 164c711
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
9 changes: 9 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,15 @@ RUN echo "Enable server extensions" \
&& jupyter server extension list \
&& echo "...done"

RUN echo "Install AWS CLI v2" \
&& curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "/tmp/awscliv2.zip" \
&& unzip /tmp/awscliv2.zip -d /tmp \
&& /tmp/aws/install -i /env/bin/aws-cli -b /env/bin \
&& aws --version \
&& rm -f /tmp/awscliv2.zip \
&& rm -fr /tmp/aws \
&& echo "...done"

COPY assets/sync_repo assets/jupyterhub-singleuser /usr/local/bin/
COPY assets/overrides.json /env/share/jupyter/lab/settings/

Expand Down
1 change: 0 additions & 1 deletion docker/env.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ dependencies:
- rio-cogeo
- access
- aiobotocore
- awscli
- boto3
- affine
- aiohttp
Expand Down

0 comments on commit 164c711

Please sign in to comment.