Skip to content

Commit 2768b1d

Browse files
committed
Add back the "BUILD_ARGS" variable in Dockerfile
1 parent 87b3167 commit 2768b1d

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ FROM jupyter/base-notebook:hub-1.5.0
2121
ENV NB_UID=jovyan
2222
ENV FOLDER=netpyne
2323
ENV NP_LFPYKIT_HEAD_FILE=/home/jovyan/nyhead.mat
24+
ARG BUILD_ARGS=""
2425

2526
USER root
2627

@@ -65,8 +66,8 @@ RUN jupyter nbextension enable --py --sys-prefix jupyter_geppetto
6566
RUN jupyter nbextension enable --py --sys-prefix widgetsnbextension
6667
RUN jupyter serverextension enable --py --sys-prefix jupyter_geppetto
6768

68-
RUN --mount=type=cache,target=/root/.cache python -m pip install --upgrade pip &&\
69-
python utilities/install.py --npm-skip --no-test
69+
RUN --mount=type=cache,target=/root/.cache python -m pip install --upgrade pip &&\
70+
python utilities/install.py ${BUILD_ARGS} --npm-skip --no-test
7071

7172

7273
RUN mv workspace /opt/workspace/tutorials

0 commit comments

Comments
 (0)