Repository: cloudstack-cloudmonkey
Updated Branches:
  refs/heads/master 4d656edb4 -> b3f276d20


initial Dockerization files

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/738fba68
Tree: 
http://git-wip-us.apache.org/repos/asf/cloudstack-cloudmonkey/tree/738fba68
Diff: 
http://git-wip-us.apache.org/repos/asf/cloudstack-cloudmonkey/diff/738fba68

Branch: refs/heads/master
Commit: 738fba681829df531b768a6fb66463fa1174e5cb
Parents: 4d656ed
Author: Pierre-Luc Dion <[email protected]>
Authored: Sat Jun 20 10:39:10 2015 -0400
Committer: pdion891 <[email protected]>
Committed: Sat Jul 4 08:27:50 2015 -0400

----------------------------------------------------------------------
 Dockerfile    | 35 +++++++++++++++++++++++++++++++++++
 config.docker | 25 +++++++++++++++++++++++++
 2 files changed, 60 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack-cloudmonkey/blob/738fba68/Dockerfile
----------------------------------------------------------------------
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..cd9d53b
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,35 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+#
+FROM python:2
+
+MAINTAINER "Apache CloudStack" <[email protected]>
+LABEL Description="Apache CloudStack CloudMonkey; Python based CloudStack 
command line interface"
+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
+
+RUN mkdir -p /cloudmonkey
+WORKDIR /cloudmonkey
+COPY config.docker /cloudmonkey/config
+
+ENTRYPOINT ["cloudmonkey", "-c", "/cloudmonkey/config"]

http://git-wip-us.apache.org/repos/asf/cloudstack-cloudmonkey/blob/738fba68/config.docker
----------------------------------------------------------------------
diff --git a/config.docker b/config.docker
new file mode 100644
index 0000000..17c536a
--- /dev/null
+++ b/config.docker
@@ -0,0 +1,25 @@
+[core]
+profile = container
+asyncblock = true
+paramcompletion = true
+history_file = /cloudmonkey/history
+log_file = /cloudmonkey/log
+cache_file = /cloudmonkey/cache
+
+
+[ui]
+color = true
+prompt = >
+display = default
+
+[container]
+url = http://cloudstack:8080/client/api
+username = admin
+password = password
+apikey =
+secretkey =
+timeout = 3600
+expires = 600
+verifysslcert = false
+signatureversion = 3
+domain = /
\ No newline at end of file

Reply via email to