X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=Dockerfile;h=9ed97d6dccf2a85a61f6e91c7d1f43238284e20d;hb=refs%2Fchanges%2F80%2F10180%2F2;hp=ee707b00da5b1a13cf41800eeb3daf9214d658c6;hpb=17c072c976b9cf8e39bd3318236de67000a5efd9;p=osm%2FRO.git diff --git a/Dockerfile b/Dockerfile index ee707b00..9ed97d6d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,15 +17,14 @@ # # Use Dockerfile-local for running osm/RO in a docker container from source -FROM ubuntu:16.04 +FROM ubuntu:18.04 RUN apt-get update && \ - DEBIAN_FRONTEND=noninteractive apt-get --yes install git tox make python-all python3 python3-pip debhelper wget && \ - DEBIAN_FRONTEND=noninteractive apt-get --yes install python3-all libssl-dev apt-utils && \ - DEBIAN_FRONTEND=noninteractive python3 -m pip install -U setuptools setuptools-version-command stdeb && \ - DEBIAN_FRONTEND=noninteractive apt-get --yes install libmysqlclient-dev mysql-client - - # needed for tests: libmysqlclient-dev mysql-client tox + DEBIAN_FRONTEND=noninteractive apt-get --yes install git tox make python3 python3-pip debhelper wget \ + python3-all apt-utils libmysqlclient-dev mysql-client && \ + DEBIAN_FRONTEND=noninteractive python3 -m pip install -U setuptools setuptools-version-command stdeb + # needed for tests: libmysqlclient-dev mysql-client tox + # TODO remove apt # libssl-dev # TODO py3 comment # Uncomment this block to generate automatically a debian package and show info # # Set the working directory to /app @@ -33,4 +32,3 @@ RUN apt-get update && \ # # Copy the current directory contents into the container at /app # ADD . /app # CMD /app/devops-stages/stage-build.sh && find deb_dist -name "*.deb" -exec dpkg -I {} ";" -