summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAreli Fuss <af732p@att.com>2017-10-29 10:26:31 +0200
committerAreli Fuss <af732p@att.com>2017-10-29 10:26:31 +0200
commitfaf30472dc13d20e46bd18b0d6d7635c75d36473 (patch)
tree7bf961b668106b8c0cdf2fdf5b395c3e9cfa0a3b
parentbc9367daac76c9d7db913d534e41f668470d81e7 (diff)
Add telnet check to key server
Add telnet check to key server Change-Id: Ib53ed9c274a148b018c0c9748adc9e9804c01bb3 Issue-Id: VVP-25 Signed-off-by: Areli Fuss <af732p@att.com>
-rwxr-xr-xDockerfile3
-rwxr-xr-xassets/setup10
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}