Revert "Update Dockerfile"

This reverts commit f2af78ecac.
This commit is contained in:
Valentino Lauciani 2021-03-18 14:10:54 +01:00
parent f1f416023a
commit cca7cef1ce

View File

@ -688,7 +688,7 @@ ARG IMAGEMAGICK_VERSION=latest
ENV IMAGEMAGICK_VERSION ${IMAGEMAGICK_VERSION}
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 \
apt-get install -y git && \
cd /tmp && \