mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-02 06:28:34 -04:00
code-server-r update/add workflows
This commit is contained in:
@@ -1,12 +0,0 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
echo "**** Adding r repo ****"
|
||||
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
|
||||
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
|
||||
fi
|
||||
@@ -1,5 +0,0 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
if [ -f /usr/bin/apt ]; then
|
||||
apt-get update
|
||||
fi
|
||||
@@ -1,6 +0,0 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
echo "**** installing R dev environment ****"
|
||||
apt-get install -y \
|
||||
build-essential \
|
||||
r-base
|
||||
@@ -6,9 +6,9 @@ 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 -
|
||||
curl -fsSL https://cloud.r-project.org/bin/linux/ubuntu/marutter_pubkey.asc | tee /usr/share/keyrings/r.asc >/dev/null
|
||||
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 "deb [signed-by=/usr/share/keyrings/r.asc] 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
|
||||
|
||||
Reference in New Issue
Block a user