docker-full: java: setup needed environment variables
[nit.git] / misc / docker / Dockerfile
index a1d602c..3d795c2 100644 (file)
@@ -1,6 +1,6 @@
 # This is a basic install of Nit on a debian base.
 
-FROM debian:jessie
+FROM debian:stretch
 MAINTAINER Jean Privat <jean@pryen.org>
 
 # Install dependencies
@@ -26,7 +26,7 @@ RUN git clone https://github.com/nitlang/nit.git /nit \
        && make \
        && . misc/nit_env.sh install \
        # Clean and reduce size
-       && strip c_src/nitc bin/nit* \
+       && { strip c_src/nitc bin/nit* || true; } \
        && ccache -C \
        && rm -rf .git