Skip to content

Commit 91c073f

Browse files
committed
Try fix aiidalab deps
1 parent 0aa27ac commit 91c073f

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

stack/lab/Dockerfile

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,18 @@ RUN apt-get update --yes && \
2222

2323
# Install aiidalab package
2424
ARG AIIDALAB_VERSION
25-
RUN mamba install --yes \
26-
aiidalab=${AIIDALAB_VERSION} \
27-
&& mamba clean --all -f -y && \
28-
fix-permissions "${CONDA_DIR}" && \
29-
fix-permissions "/home/${NB_USER}"
25+
#RUN mamba install --yes \
26+
# aiidalab=${AIIDALAB_VERSION} \
27+
# && mamba clean --all -f -y && \
28+
# fix-permissions "${CONDA_DIR}" && \
29+
# fix-permissions "/home/${NB_USER}"
30+
RUN git clone https://github.com/aiidalab/aiidalab.git && \
31+
cd aiidalab && git switch python3.10 && \
32+
pip install .
3033

3134
# Pin aiidalab version.
32-
RUN echo "aiidalab==${AIIDALAB_VERSION}" >> /opt/requirements.txt
33-
RUN conda config --system --add pinned_packages "aiidalab=${AIIDALAB_VERSION}"
35+
#RUN echo "aiidalab==${AIIDALAB_VERSION}" >> /opt/requirements.txt
36+
#RUN conda config --system --add pinned_packages "aiidalab=${AIIDALAB_VERSION}"
3437

3538
# Install the aiidalab-home app.
3639
ARG AIIDALAB_HOME_VERSION

0 commit comments

Comments
 (0)