1 # This is a basic install of Nit on a debian base.
4 MAINTAINER Jean Privat <jean@pryen.org>
7 RUN dpkg --add-architecture i386 \
8 && apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
9 # Recomanded builds pakages
20 libcurl4-openssl-dev \
23 # Get pip3 for junit2html
28 # Packages needed for lib/
37 libbson-dev libssl-dev \
50 # Packages needed for contrib, platforms and FFI
68 # TODO neo4j mongodb neo4j emscripten test_glsl_validation
69 && curl -sL https://deb.nodesource.com/setup_8.x | bash - \
70 && apt-get install -y nodejs \
71 && rm -rf /var/lib/apt/lists/*
73 # Setup environment variables
74 ENV JAVA_HOME=/usr/lib/jvm/default-java/
75 ENV JNI_LIB_PATH=$JAVA_HOME/jre/lib/amd64/server/
76 ENV LD_LIBRARY_PATH=$JAVA_HOME/jre/lib/amd64/server/
78 RUN pip3 install junit2html
80 # Prepare to install npm (npm is not packaged for debian:stretch)
81 RUN npm install pug-cli -g