Skip to content

Commit

Permalink
trying with Docker
Browse files Browse the repository at this point in the history
  • Loading branch information
betolink committed Feb 19, 2024
1 parent 7ed0af1 commit c4962cf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 4 additions & 0 deletions ci/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,16 @@ ENV QUARTO_CLI=https://github.com/quarto-dev/quarto-cli/releases/download/v1.3.4

RUN wget -O /tmp/quarto.deb ${QUARTO_CLI} && dpkg -i /tmp/quarto.deb && rm -rf /tmp/quarto.deb && apt-get clean

RUN conda activate notebook && conda uninstall -y netcdf4 libnetcdf && pip install netcdf4==1.6.5

USER ${NB_USER}

WORKDIR ${HOME}/.kernels

RUN chmod +x install-kernels.sh && cd /home/jovyan/.kernels && ./install-kernels.sh environments




ENV JUPYTERHUB_HTTP_REFERER=https://openscapes.2i2c.cloud/

3 changes: 0 additions & 3 deletions ci/postBuild
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
code-server --install-extension ms-python.python
awsv2 --install
export alias aws='awsv2'
conda activate /srv/conda/envs/notebook
conda uninstall -y netcdf4 libnetcdf
pip install netcdf4==1.6.5

0 comments on commit c4962cf

Please sign in to comment.