-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #67 from ScilifelabDataCentre/fix/jupyterlab-error
Fixed the jupyterlab error
- Loading branch information
Showing
4 changed files
with
30 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,27 @@ | ||
FROM jupyter/minimal-notebook:latest | ||
LABEL org.opencontainers.image.source https://github.com/scilifelabdatacentre/serve-images | ||
|
||
ARG STACKN_BRANCH=release/v0.7.0 | ||
ARG CLI_BRANCH=develop | ||
ARG SERVE_BRANCH=develop | ||
WORKDIR /home/jovyan | ||
|
||
COPY requirements.txt /tmp | ||
|
||
USER root | ||
RUN apt-get update && apt-get install curl -y --no-install-recommends \ | ||
&& apt-get clean \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
COPY requirements.txt /tmp | ||
RUN git clone -b $STACKN_BRANCH https://github.com/scaleoutsystems/stackn.git /tmp/stackn \ | ||
&& mv /tmp/stackn/examples /home/jovyan/work \ | ||
&& rm -rf /tmp/stackn \ | ||
&& mkdir -p /home/jovyan/.scaleout \ | ||
&& chown -R jovyan /home/jovyan/work/examples /home/jovyan/.scaleout \ | ||
&& chgrp -R $NB_GID /home/jovyan/work/examples /home/jovyan/.scaleout | ||
|
||
RUN npm install npm@latest -g \ | ||
RUN git clone -b $SERVE_BRANCH https://github.com/ScilifelabDataCentre/stackn /tmp/serve \ | ||
&& mv /tmp/serve/examples /home/jovyan/work \ | ||
&& rm -rf /tmp/serve \ | ||
&& chown -R jovyan /home/jovyan/work/examples \ | ||
&& chgrp -R $NB_GID /home/jovyan/work/examples | ||
|
||
RUN npm remove package-lock.json \ | ||
&& npm install npm@latest -g \ | ||
&& npm cache clean --force \ | ||
&& npm -v | ||
|
||
|
||
USER $NB_UID | ||
RUN pip install --no-cache-dir -r /tmp/requirements.txt \ | ||
&& pip install --no-cache-dir git+https://github.com/scaleoutsystems/studio-cli.git@$CLI_BRANCH | ||
RUN pip install --no-cache-dir -r /tmp/requirements.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,27 @@ | ||
FROM jupyter/minimal-notebook:latest | ||
LABEL org.opencontainers.image.source https://github.com/scilifelabdatacentre/serve-images | ||
|
||
ARG STACKN_BRANCH=release/v0.7.0 | ||
ARG CLI_BRANCH=develop | ||
|
||
ARG SERVE_BRANCH=develop | ||
WORKDIR /home/jovyan | ||
|
||
COPY requirements.txt /tmp | ||
COPY tests/notebooks/basic.ipynb tests/basic.ipynb | ||
|
||
USER root | ||
RUN apt-get update && apt-get install curl -y --no-install-recommends \ | ||
&& apt-get clean \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
COPY requirements.txt /tmp | ||
RUN git clone -b $STACKN_BRANCH https://github.com/scaleoutsystems/stackn.git /tmp/stackn \ | ||
&& mv /tmp/stackn/examples /home/jovyan/work \ | ||
&& rm -rf /tmp/stackn \ | ||
&& mkdir -p /home/jovyan/.scaleout \ | ||
&& chown -R jovyan /home/jovyan/work/examples /home/jovyan/.scaleout \ | ||
&& chgrp -R $NB_GID /home/jovyan/work/examples /home/jovyan/.scaleout | ||
|
||
RUN npm install npm@latest -g \ | ||
RUN git clone -b $SERVE_BRANCH https://github.com/ScilifelabDataCentre/stackn /tmp/serve \ | ||
&& mv /tmp/serve/examples /home/jovyan/work \ | ||
&& rm -rf /tmp/serve \ | ||
&& chown -R jovyan /home/jovyan/work/examples \ | ||
&& chgrp -R $NB_GID /home/jovyan/work/examples | ||
|
||
RUN npm remove package-lock.json \ | ||
&& npm install npm@latest -g \ | ||
&& npm cache clean --force \ | ||
&& npm -v | ||
|
||
USER $NB_UID | ||
RUN pip install --no-cache-dir -r /tmp/requirements.txt \ | ||
&& pip install --no-cache-dir git+https://github.com/scaleoutsystems/studio-cli.git@$CLI_BRANCH | ||
RUN pip install --no-cache-dir -r /tmp/requirements.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
mlflow==2.2.1 | ||
boto3==1.26.86 | ||
minio==7.1.13 | ||
mlflow==2.7.1 | ||
boto3==1.28.50 | ||
minio==7.1.16 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters