mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-18 08:48:27 -04:00
Merge pull request #425 from linuxserver/code-server-python3-s6v3
switch to hybrid (code-server-python3)
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
# Python3 - Docker mod for code-server
|
# Python3 - Docker mod for code-server/openvscode-server
|
||||||
|
|
||||||
This mod adds a python3 dev environment to code-server, to be installed/updated during container start.
|
This mod adds a python3 dev environment to code-server/openvscode-server, to be installed/updated during container start.
|
||||||
|
|
||||||
In code-server docker arguments, set an environment variable `DOCKER_MODS=linuxserver/mods:code-server-python3`
|
In code-server/openvscode-server docker arguments, set an environment variable `DOCKER_MODS=linuxserver/mods:code-server-python3`
|
||||||
|
|
||||||
If adding multiple mods, enter them in an array separated by `|`, such as `DOCKER_MODS=linuxserver/mods:code-server-python3|linuxserver/mods:code-server-mod2`
|
If adding multiple mods, enter them in an array separated by `|`, such as `DOCKER_MODS=linuxserver/mods:code-server-python3|linuxserver/mods:code-server-mod2`
|
||||||
|
|||||||
@@ -0,0 +1,14 @@
|
|||||||
|
#!/usr/bin/with-contenv bash
|
||||||
|
|
||||||
|
if ! dpkg -l | grep python3-dev > /dev/null; then
|
||||||
|
echo "**** Adding python3 to package install list ****"
|
||||||
|
echo "\
|
||||||
|
build-essential \
|
||||||
|
libssl-dev \
|
||||||
|
libffi-dev \
|
||||||
|
python3-dev \
|
||||||
|
python3-pip \
|
||||||
|
python3-venv" >> /mod-repo-packages-to-install.list
|
||||||
|
else
|
||||||
|
echo "**** python3 already installed ****"
|
||||||
|
fi
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
oneshot
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
/etc/s6-overlay/s6-rc.d/init-mod-code-server-python3-add-package/run
|
||||||
Reference in New Issue
Block a user