summaryrefslogtreecommitdiffstats
path: root/docker/config_install_env.sh
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2017-11-09 06:05:06 +0100
committerCédric Ollivier <cedric.ollivier@orange.com>2017-11-09 13:42:11 +0100
commit0705a7ed15f090b3be64f2995d1c9fff51edc2f1 (patch)
tree813d03b2a9a8ab18ee30348eaef7f606b4378bdd /docker/config_install_env.sh
parent112944292c7935e43d978312c633a3bbf16e0559 (diff)
Remove the former Dockerfile
opnfv/functest had been split into multiple containers based on Alpine (See Docker Slicing [1]) during Euphrates. As ARM is being switching to them, we can safely remove the related files. [1] https://git.opnfv.org/functest/tree/docs/com/pres/dockerslicing/dockerslicing.md?h=stable/euphrates Change-Id: I30294a94cc742ba80a7bc4f35db9330240385bb0 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'docker/config_install_env.sh')
-rw-r--r--docker/config_install_env.sh26
1 files changed, 0 insertions, 26 deletions
diff --git a/docker/config_install_env.sh b/docker/config_install_env.sh
deleted file mode 100644
index ed67994f0..000000000
--- a/docker/config_install_env.sh
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/bash
-
-set -e
-
-PIP_PATH=~/.pip
-PIP_CONF=$PIP_PATH/pip.conf
-EASY_INSTALL_CONF=~/.pydistutil.cfg
-
-if [ "x$BASE_PIP_URL" = "x" ];then
- exit 0
-fi
-
-echo "config pip and easy_install"
-HOSTNAME=`echo $BASE_PIP_URL | awk -F '[:/]' '{print $4}'`
-if [ "x$HOSTNAME" = "x" ]; then
- echo "invalid BASE_PIP_URL: $BASE_PIP_URL"
- exit 1
-fi
-
-if [ ! -d $PIP_PATH ];then
- mkdir $PIP_PATH
-fi
-
-echo -e "[global]\ntrusted-host = $HOSTNAME\nindex-url = $BASE_PIP_URL\ntimeout = 6000" > $PIP_CONF
-echo -e "[easy_install]\nindex-url = $BASE_PIP_URL\nfind-links = $BASE_PIP_URL" > $EASY_INSTALL_CONF
-