GetDKAN / dkan-tools

CLI tools for DKAN site management
https://getdkan.github.io/dkan-tools/
15 stars 14 forks source link

Update Images to PHP 8.1.x #345

Open alexfinnarn opened 1 year ago

alexfinnarn commented 1 year ago

User Story

As a Drupal developer, I need to have at least PHP 8.1.x to upgrade to use Drupal 10. Change record: https://www.drupal.org/node/3264830

Acceptance Criteria

When using DKAN Tools, the web Docker container is running PHP 8.1.x.

Bonus: When using DKAN Tools, I can modify the PHP version via a configuration file, possibly dktl.yml.

References

Here is a past issue for PHP 7.4 https://github.com/GetDKAN/dkan-tools/issues/305

Notes

I can try to help with this as much as I understand. I primarily have used Drupal-based local dev environments like DDEV and Lando which have a configuration file I can use to modify PHP versions.

I didn't see a way to modify the PHP version from a project codebase using DKAN, but if I can do that somehow, then please let me know.

paul-m commented 1 year ago

We've been making a DDEV add-on which could help you: https://github.com/getDKAN/dkan-ddev-addon

Docs on how to convert a project to DDEV: https://getdkan.github.io/dkan-ddev-addon/dktl-convert.html