Skip to content

Commit

Permalink
fixing networkx install for analyst build (#154)
Browse files Browse the repository at this point in the history
* fixing networkx install for analyst build

* fix ident

* uncommenting forgotten section

* fixing syntax on push file
  • Loading branch information
marinagmoreira authored Feb 28, 2024
1 parent 2d50941 commit 1897f0c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 15 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/ci_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,7 @@ jobs:
--build-arg REMOTE=ghcr.io/nasa
-t ghcr.io/${{ github.repository_owner }}/isaac:msgs-ubuntu20.04

# Temp disabling the analyst build because it has a new version conflict issue. Re-enable once
# #136 is fixed.
#- name: Build analyst image isaac/isaac:msgs-ubuntu20.04
# run: docker build isaac -f isaac/scripts/docker/analyst.Dockerfile
# --build-arg REMOTE=ghcr.io/nasa
# -t ghcr.io/${{ github.repository_owner }}/isaac_analyst_notebook:latest
- name: Build analyst image isaac/isaac:msgs-ubuntu20.04
run: docker build isaac -f isaac/scripts/docker/analyst.Dockerfile
--build-arg REMOTE=ghcr.io/nasa
-t ghcr.io/${{ github.repository_owner }}/isaac_analyst_notebook:latest
14 changes: 5 additions & 9 deletions .github/workflows/ci_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,10 @@ jobs:
--build-arg REMOTE=ghcr.io/nasa
-t ghcr.io/${{ github.repository_owner }}/isaac:msgs-ubuntu20.04

# Temp disabling the analyst build because it has a version conflict issue. Re-enable once
# #136 is fixed.
# *** Remember to uncomment the push below, as well!
#- name: Build analyst image isaac/isaac:msgs-ubuntu20.04
# run: docker build isaac -f isaac/scripts/docker/analyst.Dockerfile
# --build-arg REMOTE=ghcr.io/nasa
# -t ghcr.io/${{ github.repository_owner }}/isaac_analyst_notebook:latest
- name: Build analyst image isaac/isaac:msgs-ubuntu20.04
run: docker build isaac -f isaac/scripts/docker/analyst.Dockerfile
--build-arg REMOTE=ghcr.io/nasa
-t ghcr.io/${{ github.repository_owner }}/isaac_analyst_notebook:latest


- name: Log in to registry
Expand All @@ -75,5 +72,4 @@ jobs:
if [ "${{ github.repository_owner }}" = "nasa" ]; then docker push ghcr.io/${{ github.repository_owner }}/isaac:latest-ubuntu20.04; fi;
if [ "${{ github.repository_owner }}" = "nasa" ]; then docker push ghcr.io/${{ github.repository_owner }}/isaac:astrobee-msgs-ubuntu20.04; fi;
if [ "${{ github.repository_owner }}" = "nasa" ]; then docker push ghcr.io/${{ github.repository_owner }}/isaac:msgs-ubuntu20.04; fi;
# Re-enable once #136 is fixed.
# if [ "${{ github.repository_owner }}" = "nasa" ]; then docker push ghcr.io/${{ github.repository_owner }}/isaac_analyst_notebook:latest; fi;
if [ "${{ github.repository_owner }}" = "nasa" ]; then docker push ghcr.io/${{ github.repository_owner }}/isaac_analyst_notebook:latest; fi;
1 change: 1 addition & 0 deletions scripts/docker/analyst.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ RUN apt-get update \

RUN pip3 install pyArango \
&& pip3 install jupyterlab jupyterhub nbconvert Pygments==2.6.1 jupyros \
&& pip3 install networkx==3.1 \
&& pip3 install matplotlib opencv-python numpy-quaternion pandas \
&& pip3 install torch torchvision --extra-index-url https://download.pytorch.org/whl/cpu

Expand Down

0 comments on commit 1897f0c

Please sign in to comment.