Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use imagick/imagick@master instead of imagick #269

Merged
merged 1 commit into from
Apr 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ FROM mlocati/php-extension-installer:2@sha256:c1b0b8a4c7d2d4077e4c0caf7f6f051256
FROM php${php}

ARG php=${php}
ARG php_enable_extensions="apcu bcmath calendar ctype curl dom exif fileinfo ftp gd gettext iconv imagick intl json mbstring memcache memcached mysqli mysqlnd opcache pdo pdo_mysql pdo_sqlite phar posix readline redis shmop simplexml soap sockets sqlite3 sysvmsg sysvsem sysvshm tokenizer xml xmlreader xmlwriter xsl zip"
ARG php_enable_extensions="apcu bcmath calendar ctype curl dom exif fileinfo ftp gd gettext iconv imagick/imagick@master intl json mbstring memcache memcached mysqli mysqlnd opcache pdo pdo_mysql pdo_sqlite phar posix readline redis shmop simplexml soap sockets sqlite3 sysvmsg sysvsem sysvshm tokenizer xml xmlreader xmlwriter xsl zip"
ARG php_install_extensions="blackfire xdebug"

HEALTHCHECK --interval=10s --start-period=90s CMD netstat -ltn | grep -c ":9000"
Expand Down
2 changes: 1 addition & 1 deletion bin/check-doc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ status=0
trap '{ (( status++ )) ; }' ERR

linenumber=$(grep -n 'ARG php_enable_extensions' Dockerfile | cut -f 1 -d :)
for extension in $(grep 'ARG php_enable_extensions' Dockerfile | cut -f 2 -d = | tr --delete '"'); do
for extension in $(grep 'ARG php_enable_extensions' Dockerfile | cut -f 2 -d = | tr --delete '"' | sed -E 's#.*/(.*)@.*#\1#'); do
grep -q -- "- ${extension}\$" README.md || (
echo "::error file=Dockerfile,line=${linenumber}::PHP extension '${extension}' is not documented in README.md."
exit 1
Expand Down