Skip to content

Commit

Permalink
Try fix aiidalab deps
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhollas committed Nov 29, 2022
1 parent 4d1f1d3 commit 34d7e19
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions stack/lab/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,17 @@ RUN apt-get update --yes && \

# Install aiidalab package
ARG AIIDALAB_VERSION
RUN mamba install --yes \
aiidalab=${AIIDALAB_VERSION} \
&& mamba clean --all -f -y && \
fix-permissions "${CONDA_DIR}" && \
fix-permissions "/home/${NB_USER}"
#RUN mamba install --yes \
# aiidalab=${AIIDALAB_VERSION} \
# && mamba clean --all -f -y && \
# fix-permissions "${CONDA_DIR}" && \
# fix-permissions "/home/${NB_USER}"
RUN git clone -b update-watchdog https://github.com/aiidalab/aiidalab.git && \
cd aiidalab && pip install .

# Pin aiidalab version.
RUN echo "aiidalab==${AIIDALAB_VERSION}" >> /opt/requirements.txt
RUN conda config --system --add pinned_packages "aiidalab=${AIIDALAB_VERSION}"
#RUN echo "aiidalab==${AIIDALAB_VERSION}" >> /opt/requirements.txt
#RUN conda config --system --add pinned_packages "aiidalab=${AIIDALAB_VERSION}"

# Install the aiidalab-home app.
ARG AIIDALAB_HOME_VERSION
Expand Down

0 comments on commit 34d7e19

Please sign in to comment.