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
This commit is contained in:
sslypushenko 2017-04-26 10:18:47 +03:00
parent 68473f5882
commit b0a079fdb9
2 changed files with 4 additions and 4 deletions

View File

@ -13,14 +13,14 @@ RUN \
sudo git vim wget \ sudo git vim wget \
nginx \ nginx \
python-dev python3-dev python-pip \ 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 && \ npm && \
rm -rf /var/lib/apt/lists/* && \ rm -rf /var/lib/apt/lists/* && \
rm -rf /var/lib/mysql/* && \ rm -rf /var/lib/mysql/* && \
rm -rf /etc/nginx/sites-enabled/default rm -rf /etc/nginx/sites-enabled/default
RUN \ RUN \
pip install virtualenv tox ipython ipdb httpie && \ pip install virtualenv tox httpie && \
ln -s /usr/bin/nodejs /usr/bin/node ln -s /usr/bin/nodejs /usr/bin/node
ADD /docker/scripts/* /usr/bin/ ADD /docker/scripts/* /usr/bin/
@ -41,4 +41,4 @@ RUN \
api-init-db api-init-db
CMD start.sh -s CMD start.sh -s
EXPOSE 443 EXPOSE 443

View File

@ -39,7 +39,7 @@ build_refstack_env () {
[ ! -d .venv ] && virtualenv .venv [ ! -d .venv ] && virtualenv .venv
.venv/bin/pip install -r requirements.txt .venv/bin/pip install -r requirements.txt
#Install some dev tools #Install some dev tools
.venv/bin/pip install ipython ipdb httpie .venv/bin/pip install pymysql httpie
cd /home/dev/refstack cd /home/dev/refstack
npm install npm install
# bower install --config.interactive=false # bower install --config.interactive=false