Skip to content

Commit

Permalink
use requirements to install underactuated on deepnote; dockerfile can…
Browse files Browse the repository at this point in the history
… stay fixed
  • Loading branch information
RussTedrake committed Jan 21, 2024
1 parent e849980 commit 60c8ae9
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
7 changes: 1 addition & 6 deletions book/Deepnote.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@

set -e

docker pull robotlocomotion/drake:jammy
docker build -f setup/docker/Dockerfile -t russtedrake/underactuated:latest .
docker push russtedrake/underactuated:latest
docker build -f setup/docker/Dockerfile -t russtedrake/underactuated:$(git rev-parse --short HEAD) .
docker push russtedrake/underactuated:$(git rev-parse --short HEAD)
python3 htmlbook/publish_to_deepnote.py $(git rev-parse --short HEAD)
python3 htmlbook/publish_to_deepnote.py $(cat Deepnote_docker_sha.txt)
echo "Remember to log on to deepnote and build the dockerfile in any one of the notebooks"
echo "https://deepnote.com/workspace/$(cat Deepnote_workspace.txt)"
10 changes: 10 additions & 0 deletions book/Deepnote_docker.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash

set -e

docker pull robotlocomotion/drake:jammy
docker build -f setup/docker/Dockerfile -t russtedrake/underactuated:latest .
docker push russtedrake/underactuated:latest
docker build -f setup/docker/Dockerfile -t russtedrake/underactuated:$(git rev-parse --short HEAD) .
docker push russtedrake/underactuated:$(git rev-parse --short HEAD)
git rev-parse --short HEAD > book/Deepnote_docker_sha.txt
1 change: 1 addition & 0 deletions book/Deepnote_docker_sha.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
e849980

0 comments on commit 60c8ae9

Please sign in to comment.