From faf30472dc13d20e46bd18b0d6d7635c75d36473 Mon Sep 17 00:00:00 2001 From: Areli Fuss Date: Sun, 29 Oct 2017 10:26:31 +0200 Subject: [PATCH] Add telnet check to key server Add telnet check to key server Change-Id: Ib53ed9c274a148b018c0c9748adc9e9804c01bb3 Issue-Id: VVP-25 Signed-off-by: Areli Fuss --- Dockerfile | 3 ++- assets/setup | 10 ++++++---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2c13134..8126a5a 100755 --- a/Dockerfile +++ b/Dockerfile @@ -48,7 +48,8 @@ RUN apt-get update -q \ vim \ nano \ patch \ - curl + curl \ + telnet # Copy assets COPY RELEASE / diff --git a/assets/setup b/assets/setup index bd5e705..01e1221 100755 --- a/assets/setup +++ b/assets/setup @@ -49,18 +49,20 @@ echo "####################################################" echo "[DBG] Test connection to https://packages.gitlab.com" echo "####################################################" + +echo "################ IFCONFIG #######################" sudo ifconfig +echo "################ TELNET #######################" + telnet packages.gitlab.com 443 +echo "################ CURL #######################" + curl -v https://packages.gitlab.com/gpg.key echo "####################################################" - - - - wget -q -O - https://packages.gitlab.com/gpg.key | apt-key add - apt-get update apt-get install -yq --no-install-recommends ${RELEASE_PACKAGE}=${RELEASE_VERSION} -- 2.16.6