Skip to content

Commit

Permalink
Dockerfile: Uninstall oniguruma before distclean
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
orzen authored and nicowilliams committed Mar 29, 2019
1 parent 5843701 commit 4f58a59
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 4f58a59

Please sign in to comment.