From b0a079fdb99691efe674e22d1f44d599da979745 Mon Sep 17 00:00:00 2001 From: sslypushenko Date: Wed, 26 Apr 2017 10:18:47 +0300 Subject: [PATCH] Remove IPython from RefStack container RefStack does not depend on IPython, so it needs to be removed Fixes: https://storyboard.openstack.org/#!/story/2001003 Change-Id: Ife91af120acaaf939344c56169b79b4e084a3aaf --- docker/Dockerfile | 6 +++--- docker/scripts/start.sh | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 021ac7e6..a8327ea6 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -13,14 +13,14 @@ RUN \ sudo git vim wget \ nginx \ python-dev python3-dev python-pip \ - libmysqlclient-dev mysql-client-5.6 mysql-server-5.6 \ + libmysqlclient-dev mysql-client-5.6 mysql-server-5.6 libffi-dev\ npm && \ rm -rf /var/lib/apt/lists/* && \ rm -rf /var/lib/mysql/* && \ rm -rf /etc/nginx/sites-enabled/default RUN \ - pip install virtualenv tox ipython ipdb httpie && \ + pip install virtualenv tox httpie && \ ln -s /usr/bin/nodejs /usr/bin/node ADD /docker/scripts/* /usr/bin/ @@ -41,4 +41,4 @@ RUN \ api-init-db CMD start.sh -s -EXPOSE 443 \ No newline at end of file +EXPOSE 443 diff --git a/docker/scripts/start.sh b/docker/scripts/start.sh index 26bdb7f5..1450cb88 100755 --- a/docker/scripts/start.sh +++ b/docker/scripts/start.sh @@ -39,7 +39,7 @@ build_refstack_env () { [ ! -d .venv ] && virtualenv .venv .venv/bin/pip install -r requirements.txt #Install some dev tools - .venv/bin/pip install ipython ipdb httpie + .venv/bin/pip install pymysql httpie cd /home/dev/refstack npm install # bower install --config.interactive=false