Merge pull request #241 from linuxserver/code-server-scikit-learn-apt

standardize apt-get
This commit is contained in:
Eric Nemchik 2021-09-21 12:18:53 -05:00 committed by GitHub
commit 020bab8a3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 7 deletions

View File

@ -0,0 +1,3 @@
#!/usr/bin/with-contenv bash
apt-get update

View File

@ -1,13 +1,13 @@
#!/usr/bin/with-contenv bash
# Install python3 first
apt-get update && apt-get install -y \
build-essential \
libssl-dev \
libffi-dev \
python3-dev \
python3-pip \
python3-venv
apt-get install -y \
build-essential \
libssl-dev \
libffi-dev \
python3-dev \
python3-pip \
python3-venv
# Install python modules
pip3 install jupyterlab scikit-learn