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.
This commit is contained in:
Mattias Hansson authored and Nico Williams committed 2019-03-29 08:19:41 -05:00
1 parent 584370127a
commit 4f58a59f4d
1 file changed
+3 -2
+3 -2
View File
@@ -30,10 +30,11 @@ RUN apt-get update && \
./configure --disable-valgrind --enable-all-static --prefix=/usr/local && \ ./configure --disable-valgrind --enable-all-static --prefix=/usr/local && \
make -j8 && \ make -j8 && \
make check && \ make check && \
make install && \ make install ) && \
make distclean ) && \
(cd /app/modules/oniguruma && \ (cd /app/modules/oniguruma && \
make uninstall ) && \ make uninstall ) && \
(cd /app && \
make distclean ) && \
apt-get purge -y \ apt-get purge -y \
build-essential \ build-essential \
autoconf \ autoconf \