X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=Dockerfile.local;h=dcef0670fa353d42e9e28531171812cc956524c9;hb=refs%2Fchanges%2F11%2F6911%2F1;hp=df607e6cee42bea7a78105ab8423b7faa963794e;hpb=b6541cffbe081db8ad0e60b6842c47974ba33a33;p=osm%2FLCM.git diff --git a/Dockerfile.local b/Dockerfile.local index df607e6..dcef067 100644 --- 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 -ADD . /app +ADD . /app # TODO move to the end 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 @@ -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"]