X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=Dockerfile;h=6f1f208da40684e5a1bd00748915a9930032849b;hb=7fe82640f590cc66a9b11adf0d25abceedf892de;hp=6f2acac7d50fff5942bf843c531c3f973a47919d;hpb=425154ea99d39ae2673504e307390a4bf035dcf6;p=osm%2FRO.git diff --git a/Dockerfile b/Dockerfile index 6f2acac7..6f1f208d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,22 @@ +# Copyright 2018 Telefonica S.A. +# +# Licensed 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. + +# This Dockerfile is intented for devops and deb package generation +# +# Use docker/Dockerfile-local for running osm/RO in a docker container from source + FROM ubuntu:16.04 RUN apt-get update && \ @@ -19,3 +38,11 @@ RUN apt-get update && \ DEBIAN_FRONTEND=noninteractive pip install untangle && \ DEBIAN_FRONTEND=noninteractive pip install -e git+https://github.com/python-oca/python-oca#egg=oca + +# Uncomment this block to generate automatically a debian package and show info +# # Set the working directory to /app +# WORKDIR /app +# # Copy the current directory contents into the container at /app +# ADD . /app +# CMD /app/devops-stages/stage-build.sh && find -name "*.deb" -exec dpkg -I {} ";" +