-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use mamba instead of conda when possible remove libc symlink hack use apt instead of apt-get
- Loading branch information
Showing
7 changed files
with
94 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,10 +11,7 @@ LABEL maintainer="Swiss Data Science Center <[email protected]>" | |
|
||
# install dependencies | ||
RUN apt-get update -y && \ | ||
apt-get install -y curl && \ | ||
curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash && \ | ||
apt-get update -y && \ | ||
apt-get install -y gcc git git-lfs nodejs && \ | ||
apt-get install -y curl gcc git-lfs nodejs && \ | ||
apt-get purge && \ | ||
apt-get clean && \ | ||
apt autoremove --yes && \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,13 +8,11 @@ LABEL maintainer="Swiss Data Science Center <[email protected]>" | |
USER root | ||
|
||
# Install additional dependencies and nice-to-have packages | ||
RUN apt-get update && apt-get install -yq --no-install-recommends \ | ||
RUN apt update && apt install -yq --no-install-recommends \ | ||
build-essential \ | ||
curl && \ | ||
curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash && \ | ||
apt-get update && apt-get install -yq --no-install-recommends \ | ||
curl \ | ||
git \ | ||
git-lfs=2.12.0 \ | ||
git-lfs \ | ||
gnupg \ | ||
graphviz \ | ||
jq \ | ||
|
@@ -31,9 +29,8 @@ RUN apt-get update && apt-get install -yq --no-install-recommends \ | |
python-dev \ | ||
unzip \ | ||
vim && \ | ||
apt-get clean && \ | ||
rm -rf /var/lib/apt/lists/* && \ | ||
ln -s /usr/lib/x86_64-linux-musl/libc.so /lib/libc.musl-x86_64.so.1 | ||
apt clean && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
# Add a new group with id 1000 and arbitrary name | ||
# Note: this is to standardize groups between the R and jupyter images | ||
|
@@ -52,10 +49,10 @@ RUN python3 -m pip install --no-cache -U pip && \ | |
rm -rf /home/${NB_USER}/.cache | ||
|
||
# fix https://github.com/SwissDataScienceCenter/renku-jupyter/issues/14 | ||
RUN conda install gxx_linux-64 && \ | ||
RUN mamba install -y gxx_linux-64 && \ | ||
# jupyter sets channel priority to strict which often causes very long error messages | ||
conda config --system --set channel_priority flexible && \ | ||
conda clean --all -f -y | ||
mamba clean --all -f -y | ||
|
||
# install renku-python | ||
ENV RENKU_DISABLE_VERSION_CHECK 1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters