Skip to content
Snippets Groups Projects
Commit 3d94004a authored by Luigi Sbailo's avatar Luigi Sbailo
Browse files

Trust all notebooks

parent 829849a8
No related branches found
No related tags found
1 merge request!123testing develop merge
...@@ -21,6 +21,7 @@ RUN apt-get update \ ...@@ -21,6 +21,7 @@ RUN apt-get update \
git-lfs\ git-lfs\
openjdk-8-jdk \ openjdk-8-jdk \
xvfb \ xvfb \
cmake \
&& apt-get clean \ && apt-get clean \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
...@@ -128,9 +129,21 @@ RUN pip install src/f90wrap \ ...@@ -128,9 +129,21 @@ RUN pip install src/f90wrap \
# Make quippy executable available from terminal # Make quippy executable available from terminal
ENV PATH /opt/quip/bin:$PATH ENV PATH /opt/quip/bin:$PATH
# below temporary install of pysisso - to be removed for the c++ version
COPY 3rdparty/pysisso . COPY 3rdparty/pysisso .
RUN pip install . RUN pip install .
# ================================================================================
# SISSO++
# ================================================================================
WORKDIR /opt/cpp_sisso
COPY 3rdparty/cpp_sisso .
WORKDIR /opt/cpp_sisso/src
USER root
# ================================================================================ # ================================================================================
# Install all of the package dependencies of the tutorials # Install all of the package dependencies of the tutorials
# ================================================================================ # ================================================================================
...@@ -138,6 +151,8 @@ RUN pip install . ...@@ -138,6 +151,8 @@ RUN pip install .
WORKDIR /opt/tutorials WORKDIR /opt/tutorials
COPY tutorials/ . COPY tutorials/ .
RUN pip install ./analytics-insulators-discovery
RUN pip install ./analytics-compressed-sensing \ RUN pip install ./analytics-compressed-sensing \
&& conda install -c plotly plotly-orca && conda install -c plotly plotly-orca
RUN pip install ./analytics-convolutional-nn \ RUN pip install ./analytics-convolutional-nn \
...@@ -168,9 +183,7 @@ ARG TUTORIALS_HOME=$HOME/tutorials ...@@ -168,9 +183,7 @@ ARG TUTORIALS_HOME=$HOME/tutorials
# Linking all the notebooks of the tutorials # Linking all the notebooks of the tutorials
WORKDIR $TUTORIALS_HOME WORKDIR $TUTORIALS_HOME
RUN ln -s /opt/tutorials/*/*.ipynb . \ RUN ln -s /opt/tutorials/*/*.ipynb . \
&& jupyter-trust tcmi.ipynb \ && jupyter-trust -y *.ipynb
&& jupyter-trust descriptor_role.ipynb
# Linking images or other assets may required by the tutorials # Linking images or other assets may required by the tutorials
WORKDIR $TUTORIALS_HOME/assets WORKDIR $TUTORIALS_HOME/assets
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment