mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-06-28 11:13:00 -04:00
12 lines
598 B
Plaintext
Executable File
12 lines
598 B
Plaintext
Executable File
#!/usr/bin/with-contenv bash
|
|
|
|
if [ ! -f "/etc/apt/sources.list.d/hashicorp.list" ]; then
|
|
echo "**** Adding terraform packages to install list ****"
|
|
curl -fsSL https://apt.releases.hashicorp.com/gpg | gpg --dearmor | tee /usr/share/keyrings/hashicorp.gpg >/dev/null
|
|
source /etc/lsb-release
|
|
echo "deb [signed-by=/usr/share/keyrings/hashicorp.gpg] 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
|