Merge "Fix the docker build image issue"

This commit is contained in:
Jenkins 2015-05-19 22:54:58 +00:00 committed by Gerrit Code Review
commit 427d218dfa
1 changed files with 4 additions and 1 deletions

View File

@ -29,11 +29,14 @@ FROM ubuntu:14.04
MAINTAINER Davanum Srinivas
# Install basic applications and Python tools
RUN apt-get update && apt-get install -y tar git curl nano wget dialog net-tools build-essential python python-dev python-distribute python-pip
RUN apt-get update && apt-get install -y tar git curl nano wget dialog net-tools build-essential libssl-dev libffi-dev python python-dev python-distribute python-pip
# Copy the application folder inside the container
ADD . /magnum
# Upgrade pip since ubuntu pip package has bug
RUN easy_install -U pip
# Get pip to download and install requirements:
RUN pip install -r /magnum/requirements.txt