Skip to content

Commit

Permalink
Manually set PATH and VIRTUAL_ENV for all binder related files (#740)
Browse files Browse the repository at this point in the history
Ref #739
  • Loading branch information
cboettig authored Dec 29, 2023
2 parents e99d515 + 19049a8 commit 6efce3a
Show file tree
Hide file tree
Showing 30 changed files with 75 additions and 15 deletions.
2 changes: 2 additions & 0 deletions dockerfiles/binder_4.0.0.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ LABEL org.opencontainers.image.licenses="GPL-2.0-or-later" \
org.opencontainers.image.authors="Carl Boettiger <[email protected]>"

ENV NB_USER=rstudio
ENV VIRTUAL_ENV=/opt/venv
ENV PATH=${VIRTUAL_ENV}/bin:${PATH}

RUN /rocker_scripts/install_jupyter.sh

Expand Down
2 changes: 2 additions & 0 deletions dockerfiles/binder_4.0.1.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ LABEL org.opencontainers.image.licenses="GPL-2.0-or-later" \
org.opencontainers.image.authors="Carl Boettiger <[email protected]>"

ENV NB_USER=rstudio
ENV VIRTUAL_ENV=/opt/venv
ENV PATH=${VIRTUAL_ENV}/bin:${PATH}

RUN /rocker_scripts/install_jupyter.sh

Expand Down
2 changes: 2 additions & 0 deletions dockerfiles/binder_4.0.2.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ LABEL org.opencontainers.image.licenses="GPL-2.0-or-later" \
org.opencontainers.image.authors="Carl Boettiger <[email protected]>"

ENV NB_USER=rstudio
ENV VIRTUAL_ENV=/opt/venv
ENV PATH=${VIRTUAL_ENV}/bin:${PATH}

RUN /rocker_scripts/install_jupyter.sh

Expand Down
2 changes: 2 additions & 0 deletions dockerfiles/binder_4.0.3.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ LABEL org.opencontainers.image.licenses="GPL-2.0-or-later" \
org.opencontainers.image.authors="Carl Boettiger <[email protected]>"

ENV NB_USER=rstudio
ENV VIRTUAL_ENV=/opt/venv
ENV PATH=${VIRTUAL_ENV}/bin:${PATH}

RUN /rocker_scripts/install_jupyter.sh

Expand Down
2 changes: 2 additions & 0 deletions dockerfiles/binder_4.0.4.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ LABEL org.opencontainers.image.licenses="GPL-2.0-or-later" \
org.opencontainers.image.authors="Carl Boettiger <[email protected]>"

ENV NB_USER=rstudio
ENV VIRTUAL_ENV=/opt/venv
ENV PATH=${VIRTUAL_ENV}/bin:${PATH}

RUN /rocker_scripts/install_jupyter.sh

Expand Down
2 changes: 2 additions & 0 deletions dockerfiles/binder_4.0.5.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ LABEL org.opencontainers.image.licenses="GPL-2.0-or-later" \
org.opencontainers.image.authors="Carl Boettiger <[email protected]>"

ENV NB_USER=rstudio
ENV VIRTUAL_ENV=/opt/venv
ENV PATH=${VIRTUAL_ENV}/bin:${PATH}

RUN /rocker_scripts/install_jupyter.sh

Expand Down
2 changes: 2 additions & 0 deletions dockerfiles/binder_4.1.0.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ LABEL org.opencontainers.image.licenses="GPL-2.0-or-later" \
org.opencontainers.image.authors="Carl Boettiger <[email protected]>"

ENV NB_USER=rstudio
ENV VIRTUAL_ENV=/opt/venv
ENV PATH=${VIRTUAL_ENV}/bin:${PATH}

RUN /rocker_scripts/install_jupyter.sh

Expand Down
2 changes: 2 additions & 0 deletions dockerfiles/binder_4.1.1.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ LABEL org.opencontainers.image.licenses="GPL-2.0-or-later" \
org.opencontainers.image.authors="Carl Boettiger <[email protected]>"

ENV NB_USER=rstudio
ENV VIRTUAL_ENV=/opt/venv
ENV PATH=${VIRTUAL_ENV}/bin:${PATH}

RUN /rocker_scripts/install_jupyter.sh

Expand Down
2 changes: 2 additions & 0 deletions dockerfiles/binder_4.1.2.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ LABEL org.opencontainers.image.licenses="GPL-2.0-or-later" \
org.opencontainers.image.authors="Carl Boettiger <[email protected]>"

ENV NB_USER=rstudio
ENV VIRTUAL_ENV=/opt/venv
ENV PATH=${VIRTUAL_ENV}/bin:${PATH}

RUN /rocker_scripts/install_jupyter.sh

Expand Down
2 changes: 2 additions & 0 deletions dockerfiles/binder_4.1.3.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ LABEL org.opencontainers.image.licenses="GPL-2.0-or-later" \
org.opencontainers.image.authors="Carl Boettiger <[email protected]>"

ENV NB_USER=rstudio
ENV VIRTUAL_ENV=/opt/venv
ENV PATH=${VIRTUAL_ENV}/bin:${PATH}

RUN /rocker_scripts/install_jupyter.sh

Expand Down
2 changes: 2 additions & 0 deletions dockerfiles/binder_4.2.0.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ LABEL org.opencontainers.image.licenses="GPL-2.0-or-later" \
org.opencontainers.image.authors="Carl Boettiger <[email protected]>"

ENV NB_USER=rstudio
ENV VIRTUAL_ENV=/opt/venv
ENV PATH=${VIRTUAL_ENV}/bin:${PATH}

RUN /rocker_scripts/install_jupyter.sh

Expand Down
2 changes: 2 additions & 0 deletions dockerfiles/binder_4.2.1.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ LABEL org.opencontainers.image.licenses="GPL-2.0-or-later" \
org.opencontainers.image.authors="Carl Boettiger <[email protected]>"

ENV NB_USER=rstudio
ENV VIRTUAL_ENV=/opt/venv
ENV PATH=${VIRTUAL_ENV}/bin:${PATH}

RUN /rocker_scripts/install_jupyter.sh

Expand Down
2 changes: 2 additions & 0 deletions dockerfiles/binder_4.2.2.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ LABEL org.opencontainers.image.licenses="GPL-2.0-or-later" \
org.opencontainers.image.authors="Carl Boettiger <[email protected]>"

ENV NB_USER=rstudio
ENV VIRTUAL_ENV=/opt/venv
ENV PATH=${VIRTUAL_ENV}/bin:${PATH}

RUN /rocker_scripts/install_jupyter.sh

Expand Down
2 changes: 2 additions & 0 deletions dockerfiles/binder_4.2.3.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ LABEL org.opencontainers.image.licenses="GPL-2.0-or-later" \
org.opencontainers.image.authors="Carl Boettiger <[email protected]>"

ENV NB_USER=rstudio
ENV VIRTUAL_ENV=/opt/venv
ENV PATH=${VIRTUAL_ENV}/bin:${PATH}

RUN /rocker_scripts/install_jupyter.sh

Expand Down
2 changes: 2 additions & 0 deletions dockerfiles/binder_4.3.0.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ LABEL org.opencontainers.image.licenses="GPL-2.0-or-later" \
org.opencontainers.image.authors="Carl Boettiger <[email protected]>"

ENV NB_USER=rstudio
ENV VIRTUAL_ENV=/opt/venv
ENV PATH=${VIRTUAL_ENV}/bin:${PATH}

RUN /rocker_scripts/install_jupyter.sh

Expand Down
4 changes: 3 additions & 1 deletion stacks/4.0.0.json
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,9 @@
},
"FROM": "rocker/geospatial:4.0.0",
"ENV": {
"NB_USER": "rstudio"
"NB_USER": "rstudio",
"VIRTUAL_ENV": "/opt/venv",
"PATH": "${VIRTUAL_ENV}/bin:${PATH}"
},
"RUN": [
"/rocker_scripts/install_jupyter.sh"
Expand Down
4 changes: 3 additions & 1 deletion stacks/4.0.1.json
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,9 @@
},
"FROM": "rocker/geospatial:4.0.1",
"ENV": {
"NB_USER": "rstudio"
"NB_USER": "rstudio",
"VIRTUAL_ENV": "/opt/venv",
"PATH": "${VIRTUAL_ENV}/bin:${PATH}"
},
"RUN": [
"/rocker_scripts/install_jupyter.sh"
Expand Down
4 changes: 3 additions & 1 deletion stacks/4.0.2.json
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,9 @@
},
"FROM": "rocker/geospatial:4.0.2",
"ENV": {
"NB_USER": "rstudio"
"NB_USER": "rstudio",
"VIRTUAL_ENV": "/opt/venv",
"PATH": "${VIRTUAL_ENV}/bin:${PATH}"
},
"RUN": [
"/rocker_scripts/install_jupyter.sh"
Expand Down
4 changes: 3 additions & 1 deletion stacks/4.0.3.json
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,9 @@
},
"FROM": "rocker/geospatial:4.0.3",
"ENV": {
"NB_USER": "rstudio"
"NB_USER": "rstudio",
"VIRTUAL_ENV": "/opt/venv",
"PATH": "${VIRTUAL_ENV}/bin:${PATH}"
},
"RUN": [
"/rocker_scripts/install_jupyter.sh"
Expand Down
4 changes: 3 additions & 1 deletion stacks/4.0.4.json
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,9 @@
},
"FROM": "rocker/geospatial:4.0.4",
"ENV": {
"NB_USER": "rstudio"
"NB_USER": "rstudio",
"VIRTUAL_ENV": "/opt/venv",
"PATH": "${VIRTUAL_ENV}/bin:${PATH}"
},
"RUN": [
"/rocker_scripts/install_jupyter.sh"
Expand Down
4 changes: 3 additions & 1 deletion stacks/4.0.5.json
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,9 @@
},
"FROM": "rocker/geospatial:4.0.5",
"ENV": {
"NB_USER": "rstudio"
"NB_USER": "rstudio",
"VIRTUAL_ENV": "/opt/venv",
"PATH": "${VIRTUAL_ENV}/bin:${PATH}"
},
"RUN": [
"/rocker_scripts/install_jupyter.sh"
Expand Down
4 changes: 3 additions & 1 deletion stacks/4.1.0.json
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,9 @@
},
"FROM": "rocker/geospatial:4.1.0",
"ENV": {
"NB_USER": "rstudio"
"NB_USER": "rstudio",
"VIRTUAL_ENV": "/opt/venv",
"PATH": "${VIRTUAL_ENV}/bin:${PATH}"
},
"RUN": [
"/rocker_scripts/install_jupyter.sh"
Expand Down
4 changes: 3 additions & 1 deletion stacks/4.1.1.json
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,9 @@
},
"FROM": "rocker/geospatial:4.1.1",
"ENV": {
"NB_USER": "rstudio"
"NB_USER": "rstudio",
"VIRTUAL_ENV": "/opt/venv",
"PATH": "${VIRTUAL_ENV}/bin:${PATH}"
},
"RUN": [
"/rocker_scripts/install_jupyter.sh"
Expand Down
4 changes: 3 additions & 1 deletion stacks/4.1.2.json
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,9 @@
},
"FROM": "rocker/geospatial:4.1.2",
"ENV": {
"NB_USER": "rstudio"
"NB_USER": "rstudio",
"VIRTUAL_ENV": "/opt/venv",
"PATH": "${VIRTUAL_ENV}/bin:${PATH}"
},
"RUN": [
"/rocker_scripts/install_jupyter.sh"
Expand Down
4 changes: 3 additions & 1 deletion stacks/4.1.3.json
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,9 @@
},
"FROM": "rocker/geospatial:4.1.3",
"ENV": {
"NB_USER": "rstudio"
"NB_USER": "rstudio",
"VIRTUAL_ENV": "/opt/venv",
"PATH": "${VIRTUAL_ENV}/bin:${PATH}"
},
"RUN": [
"/rocker_scripts/install_jupyter.sh"
Expand Down
4 changes: 3 additions & 1 deletion stacks/4.2.0.json
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,9 @@
},
"FROM": "rocker/geospatial:4.2.0",
"ENV": {
"NB_USER": "rstudio"
"NB_USER": "rstudio",
"VIRTUAL_ENV": "/opt/venv",
"PATH": "${VIRTUAL_ENV}/bin:${PATH}"
},
"RUN": [
"/rocker_scripts/install_jupyter.sh"
Expand Down
4 changes: 3 additions & 1 deletion stacks/4.2.1.json
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,9 @@
},
"FROM": "rocker/geospatial:4.2.1",
"ENV": {
"NB_USER": "rstudio"
"NB_USER": "rstudio",
"VIRTUAL_ENV": "/opt/venv",
"PATH": "${VIRTUAL_ENV}/bin:${PATH}"
},
"RUN": [
"/rocker_scripts/install_jupyter.sh"
Expand Down
4 changes: 3 additions & 1 deletion stacks/4.2.2.json
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,9 @@
},
"FROM": "rocker/geospatial:4.2.2",
"ENV": {
"NB_USER": "rstudio"
"NB_USER": "rstudio",
"VIRTUAL_ENV": "/opt/venv",
"PATH": "${VIRTUAL_ENV}/bin:${PATH}"
},
"RUN": [
"/rocker_scripts/install_jupyter.sh"
Expand Down
4 changes: 3 additions & 1 deletion stacks/4.2.3.json
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,9 @@
},
"FROM": "rocker/geospatial:4.2.3",
"ENV": {
"NB_USER": "rstudio"
"NB_USER": "rstudio",
"VIRTUAL_ENV": "/opt/venv",
"PATH": "${VIRTUAL_ENV}/bin:${PATH}"
},
"RUN": [
"/rocker_scripts/install_jupyter.sh"
Expand Down
4 changes: 3 additions & 1 deletion stacks/4.3.0.json
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,9 @@
},
"FROM": "rocker/geospatial:4.3.0",
"ENV": {
"NB_USER": "rstudio"
"NB_USER": "rstudio",
"VIRTUAL_ENV": "/opt/venv",
"PATH": "${VIRTUAL_ENV}/bin:${PATH}"
},
"RUN": [
"/rocker_scripts/install_jupyter.sh"
Expand Down

0 comments on commit 6efce3a

Please sign in to comment.