X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FIM.git;a=blobdiff_plain;f=Dockerfile;h=a5c912e5f39d58f7bef920680b70fd799c3ef3f1;hp=1e947936f656753070cfb9f913cc91e76ddd7ba5;hb=d0a5fdc097197943c0446451c3b4c4fa190bdf45;hpb=295e5d3214228ae4f8055a248d51e6ca8e0b63cb diff --git a/Dockerfile b/Dockerfile index 1e94793..a5c912e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,11 +14,16 @@ # License for the specific language governing permissions and limitations # under the License. -FROM ubuntu:16.04 +FROM ubuntu:18.04 RUN apt-get update && \ - DEBIAN_FRONTEND=noninteractive apt-get -y install git make wget python python-pip debhelper tox && \ - DEBIAN_FRONTEND=noninteractive pip install -U pip && \ - DEBIAN_FRONTEND=noninteractive pip install -U pyang pyangbind && \ - DEBIAN_FRONTEND=noninteractive pip install -U stdeb - + DEBIAN_FRONTEND=noninteractive apt-get -y install git make wget python \ + python3 python3-all python3-pip python-pip \ + debhelper tox python-setuptools \ + python3-setuptools build-essential dh-make \ + openjdk-8-jdk maven && \ + update-java-alternatives --set /usr/lib/jvm/java-1.8.0-openjdk-amd64 && \ + DEBIAN_FRONTEND=noninteractive pip3 install pip==9.0.3 && \ + DEBIAN_FRONTEND=noninteractive pip3 install -U pyang pyangbind && \ + DEBIAN_FRONTEND=noninteractive pip3 install -U stdeb && \ + DEBIAN_FRONTEND=noninteractive pip2 install -U stdeb