Updates branch master with sol006 branch, introducing new SOL006 model classes
[osm/IM.git] / Dockerfile
index 1e94793..a5c912e 100644 (file)
 #    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