Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manually set PATH and VIRTUAL_ENV for all binder related files #740

Merged
merged 1 commit into from
Dec 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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