From c87d9692e2916476bc71aff545fab06c8003ff7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Igor=20Pe=C4=8Dovnik?= Date: Sat, 28 Sep 2019 22:19:51 +0200 Subject: [PATCH] Tiny bugfix for starting fro m very minimal image Check also for gnupg and install it --- compile.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compile.sh b/compile.sh index 7e71ee05fd..304940715c 100755 --- a/compile.sh +++ b/compile.sh @@ -46,7 +46,7 @@ fi if [[ "$1" == docker && -f /etc/debian_version && -z "$(which docker)" ]]; then display_alert "Docker not installed." "Installing" "Info" echo "deb https://download.docker.com/linux/$(lsb_release -is | awk '{print tolower($0)}') $(lsb_release -cs) edge" > /etc/apt/sources.list.d/docker.list - [[ ! $(which curl) ]] && apt-get update;apt-get install -y -qq --no-install-recommends curl gnupg + [[ ! $(which curl) || ! $(which gnupg) ]] && apt-get update;apt-get install -y -qq --no-install-recommends curl gnupg curl -fsSL "https://download.docker.com/linux/$(lsb_release -is | awk '{print tolower($0)}')/gpg" | apt-key add -qq - > /dev/null 2>&1 export DEBIAN_FRONTEND=noninteractive apt-get update