Skip to content

Commit

Permalink
Without compression
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhollas committed Jul 17, 2024
1 parent 360a073 commit 3f20583
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@ RUN fix-permissions "${CONDA_DIR}" && \
fix-permissions "/home/${NB_USER}"

WORKDIR "/home/${NB_USER}"
RUN tar -cf /opt/home.tar . && gzip -1 /opt/home.tar
RUN tar -cf /opt/home.tar .

USER ${NB_USER}
2 changes: 1 addition & 1 deletion before-notebook.d/00_untar_home.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ fi
if [[ $(ls -A ${home} | wc -l) = "0" ]];then
if [ -f /opt/home.tar.gz ]; then
echo "Extracting /opt/home.tar to /home/${NB_USER}"
tar -xf /opt/home.tar.gz -C /home/${NB_USER}
tar -xf /opt/home.tar -C /home/${NB_USER}
fi
fi

0 comments on commit 3f20583

Please sign in to comment.