mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-06-30 03:53:18 -04:00
switch to hybrid
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
#!/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/hashicorp.list" ]; then
|
||||
echo "**** Adding terraform packages to install list ****"
|
||||
curl -s https://apt.releases.hashicorp.com/gpg | apt-key add -
|
||||
source /etc/lsb-release
|
||||
echo "deb https://apt.releases.hashicorp.com ${DISTRIB_CODENAME} main" > /etc/apt/sources.list.d/hashicorp.list
|
||||
echo "terraform" >> /mod-repo-packages-to-install.list
|
||||
else
|
||||
echo "**** Terraform packages already installed, skipping ****"
|
||||
fi
|
||||
@@ -0,0 +1 @@
|
||||
oneshot
|
||||
@@ -0,0 +1 @@
|
||||
/etc/s6-overlay/s6-rc.d/init-mod-code-server-terraform-add-package/run
|
||||
@@ -0,0 +1,3 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
install-extension hashicorp.terraform
|
||||
@@ -0,0 +1 @@
|
||||
oneshot
|
||||
@@ -0,0 +1 @@
|
||||
/etc/s6-overlay/s6-rc.d/init-mod-code-server-terraform-install/run
|
||||
Reference in New Issue
Block a user