From 4f58a59f4d501390381522061b339af377c1c6dd Mon Sep 17 00:00:00 2001 From: Mattias Hansson Date: Fri, 29 Mar 2019 09:32:26 +0100 Subject: Dockerfile: Uninstall oniguruma before distclean Run `make uninstall` for oniguruma before running the recursive distclean that will remove oniguruma's Makefile and cause a build error due to missing make target. --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index e6ce6daa..f69f1f4d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -30,10 +30,11 @@ RUN apt-get update && \ ./configure --disable-valgrind --enable-all-static --prefix=/usr/local && \ make -j8 && \ make check && \ - make install && \ - make distclean ) && \ + make install ) && \ (cd /app/modules/oniguruma && \ make uninstall ) && \ + (cd /app && \ + make distclean ) && \ apt-get purge -y \ build-essential \ autoconf \ -- cgit v1.2.3