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

feat: add rclone and modify shell prompt #314

Merged
merged 4 commits into from
Mar 9, 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: 1 addition & 1 deletion docker/batch/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ SHELL [ "/bin/bash", "-c", "-o", "pipefail" ]

# install dependencies
RUN apt-get update -y && \
apt-get install --no-install-recommends -y curl wget git && \
apt-get install --no-install-recommends -y curl wget git rclone && \
apt-get purge && \
apt-get clean && \
apt-get autoremove --yes && \
Expand Down
1 change: 1 addition & 0 deletions docker/generic/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ RUN apt-get update --fix-missing && \
libsm6 \
libxext6 \
libxrender1 \
rclone \
tini \
wget \
vim && \
Expand Down
8 changes: 2 additions & 6 deletions docker/py/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ RUN apt-get update && apt-get install -yq --no-install-recommends \
musl-dev \
nano \
netcat \
rclone \
unzip \
vim \
openssh-server && \
Expand Down Expand Up @@ -82,12 +83,7 @@ RUN mkdir -p "$HOME/.renku/bin" && \
source "$HOME/.renku/venv/bin/activate" && \
pip install --no-cache-dir -r /tmp/renku-requirements.txt && \
deactivate && \
ln -s "$HOME/.renku/venv/bin/renku" "$HOME/.renku/bin/renku" && \
echo $'if (tty -s); then\n\
source ~/.renku/venv/bin/activate\n\
export PATH=/opt/conda/bin:$PATH\n\
fi\n\
'>> "/home/${NB_USER}/.bashrc"
ln -s "$HOME/.renku/venv/bin/renku" "$HOME/.renku/bin/renku"

# configure git
COPY git-config.bashrc /home/$NB_USER/
Expand Down
1 change: 1 addition & 0 deletions docker/py/powerline.config
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"segments": [
"ssh",
"virtual_env",
"cwd",
"git",
Expand Down
1 change: 1 addition & 0 deletions docker/r/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ RUN apt-get update --fix-missing && \
libxext6 \
libxrender1 \
libzmq3-dev \
rclone \
vim && \
apt-get purge && \
apt-get clean && \
Expand Down