aboutsummaryrefslogtreecommitdiffstats
path: root/docker/restapi/hooks/post_checkout
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2018-03-30 22:21:37 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2018-04-03 03:01:39 +0200
commitaca4e83931aa48b633cbb399bd4e9f16d3acdb13 (patch)
treee7f23a750b7c4e83a708d25d2e5b9ec0d4a0d620 /docker/restapi/hooks/post_checkout
parent1ca85485f74d09dfd6787b75fb40cb70dce64e4b (diff)
Remove opnfv/functest-restapi
REST api server should run on top of all Functest containers by overriding the default command. We can safely remove it and meet the Docker Slicing approach. Change-Id: Ibcc56490c931ae701bd31c52650081a115183e22 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'docker/restapi/hooks/post_checkout')
-rw-r--r--docker/restapi/hooks/post_checkout6
1 files changed, 0 insertions, 6 deletions
diff --git a/docker/restapi/hooks/post_checkout b/docker/restapi/hooks/post_checkout
deleted file mode 100644
index 8d0e98124..000000000
--- a/docker/restapi/hooks/post_checkout
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/bash
-
-from="${DOCKER_REPO%/*}/functest-core:${DOCKER_TAG}"
-sed -i "s|^FROM.*$|FROM ${from}|" Dockerfile
-
-exit $?