Skip to content

Commit

Permalink
update dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
eeholmes committed Jan 30, 2024
1 parent cfc3abe commit c1c4615
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions ci/arcgis/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#FROM ghcr.io/esri/arcgis-python-api-notebook
FROM jupyter/base-notebook:latest
#FROM jupyter/base-notebook:latest
FROM pangeo/base-image:2023.01.13
RUN conda init zsh && conda init bash

#RUN eval $(conda shell.bash hook)
Expand All @@ -9,7 +10,7 @@ WORKDIR /home/${NB_USER}

ENV CONDA_ENV=base
RUN source activate ${CONDA_ENV}
RUN python -m ipykernel install --prefix /srv/conda/envs/${CONDA_ENV} --name ${CONDA_ENV} --display-name ${CONDA_ENV}
RUN python -m ipykernel install --prefix /opt/conda/envs/${CONDA_ENV} --name ${CONDA_ENV} --display-name ${CONDA_ENV}


#RUN conda install -c conda-forge jupyterlab=2.2.10
Expand Down
4 changes: 2 additions & 2 deletions ci/arcgis/instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ docker push eeholmes/py-rocket-gis:${DOCKER_TAG}
Testing
```
DOCKER_TAG="$(git rev-parse --short HEAD)"
docker build --platform linux/amd64 -t eeholmes/py-rocket-base:${DOCKER_TAG} .
docker push eeholmes/py-rocket-base:${DOCKER_TAG}
docker build --platform linux/amd64 -t eeholmes/py-rocket-gis:${DOCKER_TAG} .
docker push eeholmes/py-rocket-gis:${DOCKER_TAG}
```

0 comments on commit c1c4615

Please sign in to comment.