@@ -27,6 +27,7 @@ RUN phpModules=" \
2727 calendar \
2828 dba \
2929 exif \
30+ Imagick/imagick@65e27f2bc0 \
3031 gd \
3132 intl \
3233 gettext \
@@ -41,33 +42,27 @@ RUN phpModules=" \
4142RUN pecl install igbinary
4243# && pecl install imagick \
4344# && docker-php-ext-enable imagick
44- ARG IMAGICK_VERSION=3.7.0
45+ # ARG IMAGICK_VERSION=3.7.0
4546
4647# Imagick is installed from the archive because regular installation fails
4748# See: https://github.com/Imagick/imagick/issues/643#issuecomment-1834361716
48- RUN curl -L -o /tmp/imagick.tar.gz https://github.com/Imagick/imagick/archive/refs/tags/${IMAGICK_VERSION}.tar.gz \
49- && tar --strip-components=1 -xf /tmp/imagick.tar.gz \
50- && phpize \
51- && ./configure \
52- && make \
53- && make install \
54- && echo "extension=imagick.so" > /usr/local/etc/php/conf.d/ext-imagick.ini \
55- && rm -rf /tmp/*
56- # <<< End of Imagick installation
57- RUN docker-php-ext-enable imagick
58-
59- # Install testing tools
60- RUN composer global require phpunit/phpunit
49+ # RUN curl -L -o /tmp/imagick.tar.gz https://github.com/Imagick/imagick/archive/refs/tags/${IMAGICK_VERSION}.tar.gz \
50+ # && tar --strip-components=1 -xf /tmp/imagick.tar.gz \
51+ # && phpize \
52+ # && ./configure \
53+ # && make \
54+ # && make install \
55+ # && echo "extension=imagick.so" > /usr/local/etc/php/conf.d/ext-imagick.ini \
56+ # && rm -rf /tmp/*
57+ # # <<< End of Imagick installation
58+ # RUN docker-php-ext-enable imagick
6159
6260# Install linting tools
63- RUN composer global require phpmd/phpmd squizlabs/php_codesniffer
61+ RUN composer global require phpunit/phpunit phpmd/phpmd squizlabs/php_codesniffer deployer/deployer
6462
6563# Install static analysis tools
6664# RUN composer global require phpstan/phpstan vimeo/psalm phan/phan
6765
68- # Install CD tools
69- RUN composer global require deployer/deployer
70-
7166RUN curl -sL https://deb.nodesource.com/setup_lts.x | bash -
7267RUN apt-get install -y \
7368 --no-install-recommends nodejs \
0 commit comments