switch to hybrid

This commit is contained in:
aptalca
2022-08-10 15:45:41 -04:00
parent 020bab8a3c
commit 568b34dad7
7 changed files with 22 additions and 3 deletions
@@ -0,0 +1,17 @@
#!/usr/bin/with-contenv bash
if ! pip list 2>&1 | grep -q "scikit-learn"; then
echo "**** Adding scikit-learn and deps to package install lists ****"
echo "\
build-essential \
libssl-dev \
libffi-dev \
python3-dev \
python3-pip \
python3-venv" >> /mod-repo-packages-to-install.list
echo "\
jupyterlab\
scikit-learn" >> /mod-pip-packages-to-install.list
else
echo "**** scikit-learn already installed, skipping ****"
fi
@@ -0,0 +1 @@
/etc/s6-overlay/s6-rc.d/init-mod-code-server-scikit-learn-add-package/run