1 # This is a basic install of Nit on a debian base.
4 MAINTAINER Jean Privat <jean@pryen.org>
7 RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
8 # Recomanded builds pakages
21 && rm -rf /var/lib/apt/lists/*
24 RUN git clone https://github.com/nitlang/nit.git /root/nit \
27 && . misc/nit_env.sh install \
28 # Clean and reduce size
29 && strip c_src/nitc bin/nit* \
34 ENV PATH $NIT_DIR/bin:$PATH