147 - Add gd to the CI image and declare ext-gd
This commit is contained in:
parent
5cd51f9b43
commit
5400bb0582
3 changed files with 7 additions and 11 deletions
|
|
@ -14,6 +14,7 @@
|
||||||
"license": "AGPL-3.0-only",
|
"license": "AGPL-3.0-only",
|
||||||
"require": {
|
"require": {
|
||||||
"php": "^8.2",
|
"php": "^8.2",
|
||||||
|
"ext-gd": "*",
|
||||||
"blade-ui-kit/blade-heroicons": "^2.6",
|
"blade-ui-kit/blade-heroicons": "^2.6",
|
||||||
"laravel/framework": "^12.0",
|
"laravel/framework": "^12.0",
|
||||||
"laravel/horizon": "^5.29",
|
"laravel/horizon": "^5.29",
|
||||||
|
|
|
||||||
5
composer.lock
generated
5
composer.lock
generated
|
|
@ -4,7 +4,7 @@
|
||||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||||
"This file is @generated automatically"
|
"This file is @generated automatically"
|
||||||
],
|
],
|
||||||
"content-hash": "e6ce5effb7f8c4d5a3f6d8cd04b6e299",
|
"content-hash": "67923d1e9e79798f3ebe2e79954f4795",
|
||||||
"packages": [
|
"packages": [
|
||||||
{
|
{
|
||||||
"name": "blade-ui-kit/blade-heroicons",
|
"name": "blade-ui-kit/blade-heroicons",
|
||||||
|
|
@ -8747,7 +8747,8 @@
|
||||||
"prefer-stable": true,
|
"prefer-stable": true,
|
||||||
"prefer-lowest": false,
|
"prefer-lowest": false,
|
||||||
"platform": {
|
"platform": {
|
||||||
"php": "^8.2"
|
"php": "^8.2",
|
||||||
|
"ext-gd": "*"
|
||||||
},
|
},
|
||||||
"platform-dev": {},
|
"platform-dev": {},
|
||||||
"plugin-api-version": "2.6.0"
|
"plugin-api-version": "2.6.0"
|
||||||
|
|
|
||||||
|
|
@ -2,21 +2,15 @@
|
||||||
# Tests run against sqlite in memory (see .env.testing), so no database client
|
# Tests run against sqlite in memory (see .env.testing), so no database client
|
||||||
# or cache extension is needed.
|
# or cache extension is needed.
|
||||||
#
|
#
|
||||||
# Extensions here are the ext-* requirements from composer.lock that php:alpine
|
# php:alpine already bundles the rest of what composer.lock requires. gd is not
|
||||||
# does not already bundle. Regenerate that list before changing this file.
|
# declared anywhere but ThumbnailUploader calls it directly.
|
||||||
FROM php:8.3-alpine
|
FROM php:8.3-alpine
|
||||||
|
|
||||||
COPY --from=mlocati/php-extension-installer:2 /usr/bin/install-php-extensions /usr/local/bin/
|
COPY --from=mlocati/php-extension-installer:2 /usr/bin/install-php-extensions /usr/local/bin/
|
||||||
|
|
||||||
RUN install-php-extensions \
|
RUN install-php-extensions \
|
||||||
pdo_sqlite \
|
|
||||||
mbstring \
|
|
||||||
dom \
|
|
||||||
xml \
|
|
||||||
fileinfo \
|
|
||||||
iconv \
|
|
||||||
pcntl \
|
pcntl \
|
||||||
posix
|
gd
|
||||||
|
|
||||||
# nodejs is not used by the app's tests; the Forgejo/GitHub JavaScript actions
|
# nodejs is not used by the app's tests; the Forgejo/GitHub JavaScript actions
|
||||||
# (checkout, cache) are executed with it inside this container.
|
# (checkout, cache) are executed with it inside this container.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue