diff options
author | SerenaFeng <feng.xiaowei@zte.com.cn> | 2017-08-25 17:56:55 +0800 |
---|---|---|
committer | SerenaFeng <feng.xiaowei@zte.com.cn> | 2017-08-25 18:05:51 +0800 |
commit | dfd85dece56f1b5f1addac121dcd5438f2c3774b (patch) | |
tree | 4084b9035019af1386e1e1c90678a6fdb0228375 /testapi/docker | |
parent | 2eb503cb2e3496131c21954506da58b056c8fb46 (diff) |
leverage setup.py directly to install TestAPI
1. delete additional script install.sh
2. using 'python setup.py install' directly to install
TestAPI, as traditional python project do
Change-Id: Ifcdee7b2bae2553f523a722bff794c40d20f81cc
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'testapi/docker')
-rw-r--r-- | testapi/docker/Dockerfile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testapi/docker/Dockerfile b/testapi/docker/Dockerfile index 5311f35..a46fce2 100644 --- a/testapi/docker/Dockerfile +++ b/testapi/docker/Dockerfile @@ -47,5 +47,5 @@ RUN git clone https://gerrit.opnfv.org/gerrit/releng /home/releng WORKDIR /home/releng/utils/test/testapi/ RUN pip install -r requirements.txt -RUN bash install.sh +RUN python setup.py install CMD ["bash", "docker/start-server.sh"] |