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

Update readme #7

Merged
merged 1 commit into from
Dec 5, 2023
Merged
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
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.
Loading