mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-03-03 18:35:55 +00:00
fix(runtipi): drop Alpine support; add OS compat notes to docker addon JSONs
This commit is contained in:
@@ -36,6 +36,10 @@
|
|||||||
"text": "This is an addon script intended to be used on top of an existing Docker container.",
|
"text": "This is an addon script intended to be used on top of an existing Docker container.",
|
||||||
"type": "info"
|
"type": "info"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"text": "Execute within an existing LXC console (Debian / Ubuntu / Alpine supported)",
|
||||||
|
"type": "info"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"text": "Initial setup will be done via the web interface on first access.",
|
"text": "Initial setup will be done via the web interface on first access.",
|
||||||
"type": "info"
|
"type": "info"
|
||||||
|
|||||||
@@ -36,6 +36,10 @@
|
|||||||
"text": "This is an addon script intended to be used on top of an existing Docker container.",
|
"text": "This is an addon script intended to be used on top of an existing Docker container.",
|
||||||
"type": "info"
|
"type": "info"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"text": "Execute within an existing LXC console (Debian / Ubuntu / Alpine supported)",
|
||||||
|
"type": "info"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"text": "To update, run the addon script again and select Update, or use: bash <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/tools/addon/dockge.sh)",
|
"text": "To update, run the addon script again and select Update, or use: bash <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/tools/addon/dockge.sh)",
|
||||||
"type": "info"
|
"type": "info"
|
||||||
|
|||||||
@@ -36,6 +36,10 @@
|
|||||||
"text": "This is an addon script intended to be used on top of an existing Docker container.",
|
"text": "This is an addon script intended to be used on top of an existing Docker container.",
|
||||||
"type": "info"
|
"type": "info"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"text": "Execute within an existing LXC console (Debian / Ubuntu / Alpine supported)",
|
||||||
|
"type": "info"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"text": "Initial setup will be done via the web interface on first access.",
|
"text": "Initial setup will be done via the web interface on first access.",
|
||||||
"type": "info"
|
"type": "info"
|
||||||
|
|||||||
@@ -36,6 +36,10 @@
|
|||||||
"text": "This is an addon script intended to be used on top of an existing Docker container.",
|
"text": "This is an addon script intended to be used on top of an existing Docker container.",
|
||||||
"type": "info"
|
"type": "info"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"text": "Execute within an existing LXC console (Debian / Ubuntu / Alpine supported)",
|
||||||
|
"type": "info"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"text": "For admin username and password, run: cat ~/komodo.creds",
|
"text": "For admin username and password, run: cat ~/komodo.creds",
|
||||||
"type": "info"
|
"type": "info"
|
||||||
|
|||||||
@@ -36,6 +36,10 @@
|
|||||||
"text": "This is an addon script intended to be used on top of an existing Docker container.",
|
"text": "This is an addon script intended to be used on top of an existing Docker container.",
|
||||||
"type": "info"
|
"type": "info"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"text": "Execute within an existing LXC console (Debian / Ubuntu only)",
|
||||||
|
"type": "info"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"text": "WARNING: Installation sources scripts outside of Community Scripts repo. Please check the source before installing.",
|
"text": "WARNING: Installation sources scripts outside of Community Scripts repo. Please check the source before installing.",
|
||||||
"type": "warning"
|
"type": "warning"
|
||||||
|
|||||||
@@ -76,16 +76,10 @@ function check_or_install_docker() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
msg_info "Installing Docker"
|
msg_info "Installing Docker"
|
||||||
if [[ -f /etc/alpine-release ]]; then
|
DOCKER_CONFIG_PATH='/etc/docker/daemon.json'
|
||||||
$STD apk add docker docker-cli-compose
|
mkdir -p "$(dirname "$DOCKER_CONFIG_PATH")"
|
||||||
$STD rc-service docker start
|
echo -e '{\n "log-driver": "journald"\n}' >"$DOCKER_CONFIG_PATH"
|
||||||
$STD rc-update add docker default
|
$STD sh <(curl -fsSL https://get.docker.com)
|
||||||
else
|
|
||||||
DOCKER_CONFIG_PATH='/etc/docker/daemon.json'
|
|
||||||
mkdir -p "$(dirname "$DOCKER_CONFIG_PATH")"
|
|
||||||
echo -e '{\n "log-driver": "journald"\n}' >"$DOCKER_CONFIG_PATH"
|
|
||||||
$STD sh <(curl -fsSL https://get.docker.com)
|
|
||||||
fi
|
|
||||||
msg_ok "Installed Docker"
|
msg_ok "Installed Docker"
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -132,12 +126,8 @@ function install() {
|
|||||||
check_or_install_docker
|
check_or_install_docker
|
||||||
|
|
||||||
msg_info "Installing dependencies"
|
msg_info "Installing dependencies"
|
||||||
if [[ -f /etc/alpine-release ]]; then
|
$STD apt-get update
|
||||||
$STD apk add --no-cache openssl gcompat
|
$STD apt-get install -y openssl
|
||||||
else
|
|
||||||
$STD apt-get update
|
|
||||||
$STD apt-get install -y openssl
|
|
||||||
fi
|
|
||||||
msg_ok "Installed dependencies"
|
msg_ok "Installed dependencies"
|
||||||
|
|
||||||
msg_warn "WARNING: This will run an external installer from https://runtipi.io/"
|
msg_warn "WARNING: This will run an external installer from https://runtipi.io/"
|
||||||
@@ -183,6 +173,11 @@ if [[ "${type:-}" == "update" ]]; then
|
|||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ -f /etc/alpine-release ]]; then
|
||||||
|
msg_error "${APP} does not support Alpine Linux. Please use a Debian or Ubuntu based LXC."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
header_info
|
header_info
|
||||||
check_proxmox_host
|
check_proxmox_host
|
||||||
get_lxc_ip
|
get_lxc_ip
|
||||||
|
|||||||
Reference in New Issue
Block a user