projects
/
osm
/
LCM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Network Slice Manager: Instantiate and Terminate actions
[osm/LCM.git]
/
Dockerfile.local
diff --git
a/Dockerfile.local
b/Dockerfile.local
index
7cdf502
..
e5bdb86
100644
(file)
--- a/
Dockerfile.local
+++ b/
Dockerfile.local
@@
-19,7
+19,7
@@
FROM ubuntu:16.04
WORKDIR /app/osm_lcm
# Copy the current directory contents into the container at /app
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 \
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 \
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
# 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_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
#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
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"]
# Run app.py when the container launches
CMD ["python3", "lcm.py"]