This repository is forked from https://github.com/davidalger/warden to make Warden multi-arch. Please refer to the source repository for the original README.
# Make the installation directory
sudo mkdir /opt/warden
# Set ownership for the installation directory
sudo chown $(whoami) /opt/warden
# Clone multi-arch fork of Warden (this repository) into the installation directory
git clone https://github.com/drpayyne/warden-multi-arch.git /opt/warden
# Export Warden to PATH. (use your appropriate shell resource file; zshrc here.)
echo 'export PATH="/opt/warden/bin:$PATH"' >> ~/.zshrc
# Export Warden to current shell's PATH
PATH="/opt/warden/bin:$PATH"
# Create and start Warden services
warden svc up
# Install Warden configuration
warden install
Add the registry & user prefix of ghcr.io/drpayyne/
to all the below packages for usage. All the below packages are available for both linux/arm64
and linux/amd64
architectures. (Note: only the *-deb
variants of the PHP images are actively maintained and supported)
Service | Package & Tag |
---|---|
PHP |
|
PHP for M2 |
|
PHP for M2 with xDebug2 |
|
PHP for M2 with xDebug3 |
|
Magepack |
|
MailHog |
|
Nginx |
|
Elasticsearch |
|
Varnish |
|
- Run "PHP FPM Full" workflow with the appropriate version tag (
major.minor-deb
) from PHP FPM or PHP FPM Loaders and push to the same versionmajor.minor-deb
. - Added
-loaders
tag when building a PHP FPM image which has the loaders available. As of today (3 March, 2022), loaders aren't built into PHP 8.1 due to an external package dependency.