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

docs: adding cbroti requirement for custom caddy build. #626

Merged
merged 3 commits into from
Mar 4, 2024
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
7 changes: 4 additions & 3 deletions docs/docker.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Building Custom Docker Image

[FrankenPHP Docker images](https://hub.docker.com/r/dunglas/frankenphp) are based on [official PHP images](https://hub.docker.com/_/php/). Debian and Alpine Linux avariants are provided for popular architectures. Debian variants are recommended.
[FrankenPHP Docker images](https://hub.docker.com/r/dunglas/frankenphp) are based on [official PHP images](https://hub.docker.com/_/php/). Debian and Alpine Linux variants are provided for popular architectures. Debian variants are recommended.

Variants for PHP 8.2 and PHP 8.3 are provided. [Browse tags](https://hub.docker.com/r/dunglas/frankenphp/tags).

Expand Down Expand Up @@ -57,6 +57,7 @@ RUN xcaddy build \
--with github.com/dunglas/frankenphp=./ \
--with github.com/dunglas/frankenphp/caddy=./caddy/ \
# Mercure and Vulcain are included in the official build, but feel free to remove them
--with github.com/dunglas/caddy-cbrotli \
--with github.com/dunglas/mercure/caddy \
--with github.com/dunglas/vulcain/caddy
# Add extra Caddy modules here
Expand Down Expand Up @@ -130,7 +131,7 @@ volumes:

## Running as a Non-Root User

FrankenPHP can run as non root user in Docker.
FrankenPHP can run as non-root user in Docker.

Here is a sample `Dockerfile` doing this:

Expand All @@ -155,7 +156,7 @@ USER ${USER}
The Docker images are built:

* when a new release is tagged
* daily at 4am UTC, if new versions of the official PHP images are available
* daily at 4 am UTC, if new versions of the official PHP images are available

## Development Versions

Expand Down
Loading