Network Slice Manager: Instantiate and Terminate actions
[osm/LCM.git] / Dockerfile.local
index 7cdf502..e5bdb86 100644 (file)
@@ -19,7 +19,7 @@ FROM ubuntu:16.04
 WORKDIR /app/osm_lcm
 
 # Copy the current directory contents into the container at /app
-ADD . /app
+#ADD . /app
 
 RUN apt-get update && apt-get install -y git tox python3 \
     python3-pip python3-aiohttp \
@@ -29,7 +29,7 @@ RUN apt-get update && apt-get install -y git tox python3 \
 RUN git clone https://osm.etsi.org/gerrit/osm/N2VC.git \
     && pip3 install -e N2VC \
     && pip3 install -e N2VC/modules/libjuju \
-    && apt-get install -y libffi-dev libssl-dev
+    && apt-get install -y libffi-dev libssl-dev openssh-client
     # cd N2VC; python3 setup.py develop
     # cd modules/libjuju; python3 setup.py develop
 
@@ -67,7 +67,7 @@ ENV OSMLCM_DATABASE_HOST   mongo
 ENV OSMLCM_DATABASE_PORT   27017
 # ENV OSMLCM_DATABASE_USER  xxx
 # ENV OSMLCM_DATABASE_PASSWORD  xxx
-# ENV OSMLCM_DATABASE_MASTERPASSWORD  xxx
+# ENV OSMLCM_DATABASE_COMMONKEY  xxx
 
 #storage
 ENV OSMLCM_STORAGE_DRIVER  local
@@ -82,6 +82,8 @@ ENV OSMLCM_MESSAGE_PORT    9092
 ENV OSMLCM_GLOBAL_LOGFILE  /app/log/lcm.log
 ENV OSMLCM_GLOBAL_LOGLEVEL DEBUG
 
+ADD . /app
+
 # Run app.py when the container launches
 CMD ["python3", "lcm.py"]