Skip to content

Commit

Permalink
feat(kale): Add kale v0.6.0 (#187)
Browse files Browse the repository at this point in the history
  • Loading branch information
sylus authored Jan 2, 2021
1 parent 8ca5c8d commit 686d6e9
Show file tree
Hide file tree
Showing 9 changed files with 43 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker-bits/6_JupyterLab.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ RUN code-server --install-extension ms-python.python && \
RUN pip install --quiet \
'jupyter-lsp==0.9.3' \
'jupyter-server-proxy==1.5.0' \
'kubeflow-kale==0.6.0' \
'git+https://github.com/betatim/vscode-binder' \
&& \
conda install --quiet --yes \
Expand Down Expand Up @@ -56,6 +57,7 @@ RUN pip install --quiet \
'[email protected]' \
'[email protected]' \
'[email protected]' \
'[email protected]' \
'[email protected]' \
&& \
jupyter lab build && \
Expand Down
2 changes: 2 additions & 0 deletions output/JupyterLab-CPU/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ RUN code-server --install-extension ms-python.python && \
RUN pip install --quiet \
'jupyter-lsp==0.9.3' \
'jupyter-server-proxy==1.5.0' \
'kubeflow-kale==0.6.0' \
'git+https://github.com/betatim/vscode-binder' \
&& \
conda install --quiet --yes \
Expand Down Expand Up @@ -172,6 +173,7 @@ RUN pip install --quiet \
'[email protected]' \
'[email protected]' \
'[email protected]' \
'[email protected]' \
'[email protected]' \
&& \
jupyter lab build && \
Expand Down
7 changes: 7 additions & 0 deletions output/JupyterLab-CPU/start-custom.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@ if [ -n "${KF_LANG}" ]; then
fi
fi

# Configure KFP multi-user
if [ -n "${NB_NAMESPACE}" ]; then
cat <<EOF > $HOME/.config/kfp/context.json
{"namespace": "${NB_NAMESPACE}"}
EOF
fi

jupyter notebook --notebook-dir=/home/${NB_USER} \
--ip=0.0.0.0 \
--no-browser \
Expand Down
2 changes: 2 additions & 0 deletions output/JupyterLab-PyTorch/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ RUN code-server --install-extension ms-python.python && \
RUN pip install --quiet \
'jupyter-lsp==0.9.3' \
'jupyter-server-proxy==1.5.0' \
'kubeflow-kale==0.6.0' \
'git+https://github.com/betatim/vscode-binder' \
&& \
conda install --quiet --yes \
Expand Down Expand Up @@ -270,6 +271,7 @@ RUN pip install --quiet \
'[email protected]' \
'[email protected]' \
'[email protected]' \
'[email protected]' \
'[email protected]' \
&& \
jupyter lab build && \
Expand Down
7 changes: 7 additions & 0 deletions output/JupyterLab-PyTorch/start-custom.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@ if [ -n "${KF_LANG}" ]; then
fi
fi

# Configure KFP multi-user
if [ -n "${NB_NAMESPACE}" ]; then
cat <<EOF > $HOME/.config/kfp/context.json
{"namespace": "${NB_NAMESPACE}"}
EOF
fi

jupyter notebook --notebook-dir=/home/${NB_USER} \
--ip=0.0.0.0 \
--no-browser \
Expand Down
2 changes: 2 additions & 0 deletions output/JupyterLab-Tensorflow/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ RUN code-server --install-extension ms-python.python && \
RUN pip install --quiet \
'jupyter-lsp==0.9.3' \
'jupyter-server-proxy==1.5.0' \
'kubeflow-kale==0.6.0' \
'git+https://github.com/betatim/vscode-binder' \
&& \
conda install --quiet --yes \
Expand Down Expand Up @@ -266,6 +267,7 @@ RUN pip install --quiet \
'[email protected]' \
'[email protected]' \
'[email protected]' \
'[email protected]' \
'[email protected]' \
&& \
jupyter lab build && \
Expand Down
7 changes: 7 additions & 0 deletions output/JupyterLab-Tensorflow/start-custom.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@ if [ -n "${KF_LANG}" ]; then
fi
fi

# Configure KFP multi-user
if [ -n "${NB_NAMESPACE}" ]; then
cat <<EOF > $HOME/.config/kfp/context.json
{"namespace": "${NB_NAMESPACE}"}
EOF
fi

jupyter notebook --notebook-dir=/home/${NB_USER} \
--ip=0.0.0.0 \
--no-browser \
Expand Down
7 changes: 7 additions & 0 deletions output/RStudio/start-custom.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@ if [ -n "${KF_LANG}" ]; then
fi
fi

# Configure KFP multi-user
if [ -n "${NB_NAMESPACE}" ]; then
cat <<EOF > $HOME/.config/kfp/context.json
{"namespace": "${NB_NAMESPACE}"}
EOF
fi

jupyter notebook --notebook-dir=/home/${NB_USER} \
--ip=0.0.0.0 \
--no-browser \
Expand Down
7 changes: 7 additions & 0 deletions resources/start-custom.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@ if [ -n "${KF_LANG}" ]; then
fi
fi

# Configure KFP multi-user
if [ -n "${NB_NAMESPACE}" ]; then
cat <<EOF > $HOME/.config/kfp/context.json
{"namespace": "${NB_NAMESPACE}"}
EOF
fi

jupyter notebook --notebook-dir=/home/${NB_USER} \
--ip=0.0.0.0 \
--no-browser \
Expand Down

0 comments on commit 686d6e9

Please sign in to comment.