docker: don't let `strip` fails the build because nit-makepackage is not a binary
authorJean Privat <jean@pryen.org>
Fri, 16 Jun 2017 13:01:10 +0000 (09:01 -0400)
committerJean Privat <jean@pryen.org>
Fri, 16 Jun 2017 14:45:28 +0000 (10:45 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>

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