-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add jupyter venv env vars. Base update
- Loading branch information
1 parent
f9f4b2c
commit 50c21b3
Showing
3 changed files
with
28 additions
and
28 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
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
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 |
---|---|---|
|
@@ -8,17 +8,18 @@ LABEL org.opencontainers.image.description "Python development environment in a | |
|
||
LABEL maintainer="Rob Ballantyne <[email protected]>" | ||
|
||
# Add new paths at front | ||
#ENV PATH=/opt/another/bin:$PATH | ||
ENV JUPYTER_VENV=$VENV_DIR/jupyter | ||
ENV JUPYTER_VENV_PYTHON=$JUPYTER_VENV/bin/python | ||
ENV JUPYTER_VENV_PIP=$JUPYTER_VENV/bin/pip | ||
|
||
# Copy early so we can use scripts in the build - Changes to these files will invalidate the cache and cause a rebuild. | ||
COPY --chown=0:1111 ./COPY_ROOT_0/ / | ||
|
||
# Define the startup mamba environment for interactive sessions. | ||
# Define the startup environment for interactive sessions. | ||
# ENV for inheritance | ||
ARG PYTHON_VERSION=all | ||
ENV PYTHON_VERSION=${PYTHON_VERSION} | ||
ARG PYTHON_VENV_NAME=python_312 | ||
ARG PYTHON_VENV_NAME=python_310 | ||
ENV PYTHON_VENV_NAME=${PYTHON_VENV_NAME} | ||
ENV PYTHON_DEFAULT_VENV=${PYTHON_VENV_NAME} | ||
ENV OPT_SYNC=$OPT_SYNC | ||
|