1 # This is a full install of Nit on a debian base.
2 # Full because most dependencies are installed so that most tests can be run
5 MAINTAINER Jean Privat <jean@pryen.org>
8 RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
9 # Recomanded builds pakages
22 && rm -rf /var/lib/apt/lists/*
25 RUN git clone https://github.com/nitlang/nit.git /root/nit \
28 && . misc/nit_env.sh install \
29 # Clean and reduce size
30 && strip c_src/nitc bin/nit* \
34 # Dependencies for more libs and tests
35 RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
36 # Packages needed for lib/
37 libcurl4-openssl-dev \
51 # Packages needed for platforms and FFI
55 # TODO neo4j android emscripten test_glsl_validation
56 && rm -rf /var/lib/apt/lists/*
59 RUN cd /root/nit/tests \
60 && ./testfull.sh || true \
61 && rm -rf out/ alt/*.nit \