Merge: docker: don't let `strip` fails the build because nit-makepackage is not a...
authorJean Privat <jean@pryen.org>
Fri, 16 Jun 2017 18:56:03 +0000 (14:56 -0400)
committerJean Privat <jean@pryen.org>
Fri, 16 Jun 2017 18:56:03 +0000 (14:56 -0400)
Pull-Request: #2502
Reviewed-by: Jean-Christophe Beaupré <jcbrinfo.public@gmail.com>

misc/docker/Dockerfile

index a1d602c..ee34149 100644 (file)
@@ -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