aboutsummaryrefslogtreecommitdiffstats
path: root/moonv4/moon_manager
diff options
context:
space:
mode:
authorasteroide <thomas.duval@orange.com>2017-07-25 18:18:05 +0200
committerasteroide <thomas.duval@orange.com>2017-07-25 18:18:05 +0200
commitc6cbfea94f51536b11e46bfe7053e1fb96c0a968 (patch)
treef16d7876fda1622e629dee16b481f524a7dbf459 /moonv4/moon_manager
parent8c643f53acb79153ab93b2e6fee8bad301af869f (diff)
Containerize the orchestrator and all components
Change-Id: I9234c3d286e0a273c878bbac66efcd9696490900
Diffstat (limited to 'moonv4/moon_manager')
-rw-r--r--moonv4/moon_manager/Dockerfile12
-rw-r--r--moonv4/moon_manager/requirements.txt4
2 files changed, 15 insertions, 1 deletions
diff --git a/moonv4/moon_manager/Dockerfile b/moonv4/moon_manager/Dockerfile
new file mode 100644
index 00000000..71b1954a
--- /dev/null
+++ b/moonv4/moon_manager/Dockerfile
@@ -0,0 +1,12 @@
+FROM ubuntu:latest
+
+RUN apt update && apt install python3.5 python3-pip -y
+RUN pip3 install moon_utilities moon_db pip --upgrade
+
+ADD . /root
+WORKDIR /root/
+RUN pip3 install -r requirements.txt
+RUN pip install dist/* --upgrade
+RUN pip3 install .
+
+CMD ["python3", "-m", "moon_manager"] \ No newline at end of file
diff --git a/moonv4/moon_manager/requirements.txt b/moonv4/moon_manager/requirements.txt
index a919c625..7609c3d8 100644
--- a/moonv4/moon_manager/requirements.txt
+++ b/moonv4/moon_manager/requirements.txt
@@ -3,4 +3,6 @@ oslo.messaging
oslo.config
vine
oslo.log
-babel \ No newline at end of file
+babel
+moon_utilities
+moon_db \ No newline at end of file