Fix the docker build image issue
The python cryptography issue, check http://www.123code.blogspot.com/2014/10/fixed-installing-python-cryptography.html The ubuntu pip issue, check http://stackoverflow.com/questions/27341064/how-do-i-fix-importerror-cannot-import-name-incompleteread Closes-Bug: #1455420 Change-Id: I8cb78f990c08cb527ebce3fa720537b5c03eb942
This commit is contained in:
parent
44724f0f89
commit
19aaa9edf6
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user