mirror of
https://github.com/linuxserver/docker-mods.git
synced 2026-03-23 00:05:28 +08:00
Merge pull request #241 from linuxserver/code-server-scikit-learn-apt
standardize apt-get
This commit is contained in:
commit
020bab8a3c
3
root/etc/cont-init.d/95-apt-get
Normal file
3
root/etc/cont-init.d/95-apt-get
Normal file
@ -0,0 +1,3 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
apt-get update
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user