Skip to content

Commit 6eb2e55

Browse files
committed
Change order of vars to take advantage of cache
1 parent cc78268 commit 6eb2e55

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ 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=""
25-
ARG WORKSPACE_VERSION=master
2624

2725
USER root
2826

@@ -55,8 +53,6 @@ RUN mkdir -p /opt/workspace
5553
RUN mkdir -p /opt/user
5654

5755

58-
59-
6056
ENV NEURON_HOME=/opt/conda
6157

6258

@@ -67,6 +63,8 @@ RUN jupyter nbextension enable --py --sys-prefix jupyter_geppetto
6763
RUN jupyter nbextension enable --py --sys-prefix widgetsnbextension
6864
RUN jupyter serverextension enable --py --sys-prefix jupyter_geppetto
6965

66+
ARG BUILD_ARGS=""
67+
ARG WORKSPACE_VERSION=master
7068
RUN --mount=type=cache,target=/root/.cache python -m pip install --upgrade pip &&\
7169
python utilities/install.py ${BUILD_ARGS} --workspace $WORKSPACE_VERSION
7270

0 commit comments

Comments
 (0)