Revert "Update Dockerfile"

This reverts commit f2af78ecac.
This commit is contained in:
Valentino Lauciani 2021-03-18 13:51:41 +01:00
parent 18e5ade895
commit 6c96f29194

View File

@ -688,7 +688,7 @@ ARG IMAGEMAGICK_VERSION=latest
ENV IMAGEMAGICK_VERSION ${IMAGEMAGICK_VERSION} ENV IMAGEMAGICK_VERSION ${IMAGEMAGICK_VERSION}
RUN if [ ${INSTALL_IMAGEMAGICK} = true ]; then \ RUN if [ ${INSTALL_IMAGEMAGICK} = true ]; then \
apt-get update -yqq && apt-get install -y libmagickwand-dev imagemagick && \ apt-get install -y libmagickwand-dev imagemagick && \
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "8" ]; then \ if [ $(php -r "echo PHP_MAJOR_VERSION;") = "8" ]; then \
apt-get install -y git && \ apt-get install -y git && \
cd /tmp && \ cd /tmp && \