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 \
51 # Packages needed for contrib, platforms and FFI
69 # TODO neo4j mongodb neo4j emscripten test_glsl_validation
70 && curl -sL https://deb.nodesource.com/setup_8.x | bash - \
71 && apt-get install -y nodejs \
72 && rm -rf /var/lib/apt/lists/*
74 # Setup environment variables
75 ENV JAVA_HOME=/usr/lib/jvm/default-java/
76 ENV JNI_LIB_PATH=$JAVA_HOME/jre/lib/amd64/server/
77 ENV LD_LIBRARY_PATH=$JAVA_HOME/jre/lib/amd64/server/
79 RUN pip3 install junit2html
81 # Prepare to install npm (npm is not packaged for debian:stretch)
82 RUN npm install pug-cli -g