Fixes bug 1395 by specifying an augments directory on pyang tree command
[osm/IM.git] / Dockerfile
index 1e89c8f..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 \
                                             python3 python3-all python3-pip python-pip \
                                             debhelper tox python-setuptools \
-                                            python3-setuptools build-essential dh-make && \
+                                            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 && \