cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seb...@apache.org
Subject cloudstack-ec2stack git commit: Dockerfile builds source
Date Thu, 20 Aug 2015 20:37:44 GMT
Repository: cloudstack-ec2stack
Updated Branches:
  refs/heads/master f31c39d12 -> 94e9dc142


Dockerfile builds source


Project: http://git-wip-us.apache.org/repos/asf/cloudstack-ec2stack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack-ec2stack/commit/94e9dc14
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack-ec2stack/tree/94e9dc14
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack-ec2stack/diff/94e9dc14

Branch: refs/heads/master
Commit: 94e9dc142b0487a469071582f69be077407f7945
Parents: f31c39d
Author: how2dock <how2dock@gmail.com>
Authored: Thu Aug 20 22:37:22 2015 +0200
Committer: how2dock <how2dock@gmail.com>
Committed: Thu Aug 20 22:37:22 2015 +0200

----------------------------------------------------------------------
 Dockerfile | 17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack-ec2stack/blob/94e9dc14/Dockerfile
----------------------------------------------------------------------
diff --git a/Dockerfile b/Dockerfile
index f10d7bd..e3a7d23 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -24,14 +24,17 @@ LABEL Vendor="apache.org"
 LABEL License=ApacheV2
 LABEL Version=1.0.0
 
-RUN apt-get update
-RUN apt-get install -y python
-RUN apt-get install -y python-dev
-RUN apt-get install -y python-pip
-RUN apt-get clean all
-
-RUN pip install ec2stack
+RUN apt-get update && apt-get install -y \
+    python \
+    python-dev \
+    python-pip 
 RUN pip install --upgrade requests
+RUN apt-get clean
+
+COPY . /tmp/ec2stack
+WORKDIR /tmp/ec2stack
+
+RUN python ./setup.py install
 
 EXPOSE 5000
 


Mime
View raw message