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:
1 parent
584370127a
commit
4f58a59f4d
1 file changed
+3
-2
+3
-2
@@ -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 \
|
||||
|
||||
Reference in new issue
Block a user