Skip to content

Commit

Permalink
feat: add rclone and modify shell prompt (#314)
Browse files Browse the repository at this point in the history
  • Loading branch information
rokroskar authored Mar 9, 2023
1 parent e6c1294 commit 60c642a
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 7 deletions.
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

0 comments on commit 60c642a

Please sign in to comment.