Skip to content

Commit

Permalink
Merge pull request #7 from craftcms/8.2
Browse files Browse the repository at this point in the history
Update readme
  • Loading branch information
jasonmccallister authored Dec 5, 2023
2 parents 5c99b7a + 0098075 commit e41f50e
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Image

> NOTE: These images are still a work-in-progress and should not be used in production.
This repository hosts the code for building container images tailored for Craft CMS applications. Our aim is to offer an always up-to-date base image that developers can expand to run a web server of their choice.

This repository hosts the code for building container images tailored for Craft CMS applications. Our aim is to offer an always up-to-date base image that developers can expand to run a web server of their choice. Our base image does not include an NGINX server and is exclusively configured to support running PHP-FPM. This setup enables developers to fully customize their container environments and maximize performance to meet their application needs (e.g. deploy with Caddy instead of NGINX).
> Our base image does not include an NGINX server and is exclusively configured to support running PHP-FPM. This setup enables developers to fully customize their container environments and maximize performance to meet their application needs (e.g. deploy with Caddy instead of NGINX).
## Image

Expand Down Expand Up @@ -70,14 +70,12 @@ services:
| `opcache.interned_strings_buffer` | `PHP_OPCACHE_INTERNED_STRINGS_BUFFER` | `16` |
| `opcache.fast_shutdown` | `PHP_OPCACHE_FAST_SHUTDOWN` | `1` |

## Upgrading Debian
## Upgrading Ubuntu

In order to update Debian (e.g.Debian 13 was released), follow these steps:
In order to update Ubuntu (e.g. Ubuntu 24.04 was released), follow these steps:

1. Update the `DEBIAN_VERSION` in the `Makefile` to the new version (e.g. `DEBIAN_VERSION=13`). This will update the
1. Update the `UBUNTU_VERSION` in the `Makefile` to the new version (e.g. `UBUNTU_VERSION=13`). This will update the
base image used for the build.
2. Update the `PHP_VERSION` in the `Makefile` to the new version (e.g. `PHP_VERSION=8.2`). This will update the
PHP version installed in the image.
3. Then, run `make build` to rebuild the image to test locally.

> Note: The version of Debian determines the version of PHP that is installed. For example, Debian 12 uses PHP 8.2.

0 comments on commit e41f50e

Please sign in to comment.