build cloudmonkey at docker build Signed-off-by: pdion891 <[email protected]>
Project: http://git-wip-us.apache.org/repos/asf/cloudstack-cloudmonkey/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack-cloudmonkey/commit/f0b840af Tree: http://git-wip-us.apache.org/repos/asf/cloudstack-cloudmonkey/tree/f0b840af Diff: http://git-wip-us.apache.org/repos/asf/cloudstack-cloudmonkey/diff/f0b840af Branch: refs/heads/master Commit: f0b840afbf71ef39cee6065b86aa7aea6b5b5c6d Parents: 738fba6 Author: Pierre-Luc Dion <[email protected]> Authored: Mon Jun 29 06:57:54 2015 -0400 Committer: pdion891 <[email protected]> Committed: Sat Jul 4 08:27:51 2015 -0400 ---------------------------------------------------------------------- Dockerfile | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack-cloudmonkey/blob/f0b840af/Dockerfile ---------------------------------------------------------------------- diff --git a/Dockerfile b/Dockerfile index cd9d53b..afdcf9e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,9 +24,15 @@ LABEL Vendor="Apache.org" LABEL License=ApacheV2 LABEL Version=5.3.2 -COPY dist/cloudmonkey-*.tar.gz / -RUN pip install /cloudmonkey-*.tar.gz -RUN rm /*.tar.gz +#COPY dist/cloudmonkey-*.tar.gz / +COPY . /cloudstack-cloudmonkey +#WORKDIR /cloudmonkey +#RUN pip install /cloudmonkey-*.tar.gz +#RUN rm /*.tar.gz +RUN pip install requests +RUN (cd /cloudstack-cloudmonkey; python setup.py build) +RUN (cd /cloudstack-cloudmonkey; python setup.py install) + RUN mkdir -p /cloudmonkey WORKDIR /cloudmonkey
