Fix alpine docker installation (#42)
* adds enabling the community repo in Alpine * make the setup-apkrepos non-interactive
This commit is contained in:
committed by
GitHub
parent
4924fa469c
commit
baaee867b3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user