We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d7f9643 commit ce47ddfCopy full SHA for ce47ddf
Dockerfile
@@ -1,5 +1,10 @@
1
FROM jupyter/datascience-notebook
2
3
+USER root
4
+RUN apt update \
5
+ && apt install keychain
6
+USER $NB_UID
7
+
8
RUN curl -O https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-361.0.0-linux-x86_64.tar.gz \
9
&& tar -zxvf google-cloud-sdk-361.0.0-linux-x86_64.tar.gz \
10
&& ./google-cloud-sdk/install.sh
_jupyterhub/custom.sh
@@ -2,3 +2,4 @@ parse_git_branch() {
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'
}
export PS1="\u@\h \[\033[32m\]\w\[\033[33m\]\$(parse_git_branch)\[\033[00m\] $ "
+eval `keychain --eval --agents ssh id_ed25519`
0 commit comments