@@ -27,6 +27,7 @@ RUN phpModules=" \
27
27
calendar \
28
28
dba \
29
29
exif \
30
+ Imagick/imagick@65e27f2bc0 \
30
31
gd \
31
32
intl \
32
33
gettext \
@@ -41,33 +42,27 @@ RUN phpModules=" \
41
42
RUN pecl install igbinary
42
43
# && pecl install imagick \
43
44
# && docker-php-ext-enable imagick
44
- ARG IMAGICK_VERSION=3.7.0
45
+ # ARG IMAGICK_VERSION=3.7.0
45
46
46
47
# Imagick is installed from the archive because regular installation fails
47
48
# 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
61
59
62
60
# 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
64
62
65
63
# Install static analysis tools
66
64
# RUN composer global require phpstan/phpstan vimeo/psalm phan/phan
67
65
68
- # Install CD tools
69
- RUN composer global require deployer/deployer
70
-
71
66
RUN curl -sL https://deb.nodesource.com/setup_lts.x | bash -
72
67
RUN apt-get install -y \
73
68
--no-install-recommends nodejs \
0 commit comments