diff --git a/conduit.sh b/conduit.sh index d097af4..f1c9401 100644 --- a/conduit.sh +++ b/conduit.sh @@ -553,6 +553,10 @@ install_docker() { fi if [ "$OS_FAMILY" = "alpine" ]; then + if ! setup-apkrepos -c -1 &>/dev/null; then + log_error "Failed to enable community repository on Alpine" + fi + if ! apk add --no-cache docker docker-cli-compose 2>/dev/null; then log_error "Failed to install Docker on Alpine" return 1 @@ -596,7 +600,6 @@ install_docker() { fi } - # Check for backup keys and offer restore during install check_and_offer_backup_restore() { if [ ! -d "$BACKUP_DIR" ]; then