mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-06-18 14:23:07 -04:00
switch to hybrid
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
if ! dpkg -l | grep gnupg > /dev/null; then
|
||||
apt-get update && apt-get install -y gnupg
|
||||
fi
|
||||
|
||||
if [ ! -f "/etc/apt/sources.list.d/r.list" ]; then
|
||||
echo "**** Adding r packages to install list ****"
|
||||
curl -s https://cloud.r-project.org/bin/linux/ubuntu/marutter_pubkey.asc | apt-key add -
|
||||
source /etc/lsb-release
|
||||
echo "deb https://cloud.r-project.org/bin/linux/ubuntu ${DISTRIB_CODENAME}-cran40/" > /etc/apt/sources.list.d/r.list
|
||||
echo "\
|
||||
build-essential \
|
||||
r-base" >> /mod-repo-packages-to-install.list
|
||||
else
|
||||
echo "**** r packages already installed, skipping ****"
|
||||
fi
|
||||
@@ -0,0 +1 @@
|
||||
oneshot
|
||||
@@ -0,0 +1 @@
|
||||
/etc/s6-overlay/s6-rc.d/init-mod-code-server-r-add-package/run
|
||||
Reference in New Issue
Block a user