Skip to content

Commit

Permalink
Add docker RUN command for AWS CLI v2
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-fry-ga committed Oct 5, 2023
1 parent 0d63378 commit ae53818
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
- awscliv2
- boto3
- affine
- aiohttp
Expand Down

0 comments on commit ae53818

Please sign in to comment.