Skip to content

Warden is a CLI utility for orchestrating multi-arch Docker based developer environments

License

Notifications You must be signed in to change notification settings

nwcasebolt/warden-multi-arch

 
 

Repository files navigation

Warden

Docker Image Architures PHP Version Magento Version License

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.

Installing Warden

# 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

Available Packages

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
  • warden-php (latest)
  • warden-php:8.1-deb
  • warden-php:7.4-deb
  • warden-php:7.3-deb
PHP for M2
  • warden-php-m2 (latest)
  • warden-php-m2:8.1-deb
  • warden-php-m2:7.4-deb
  • warden-php-m2:7.3-deb
PHP for M2 with xDebug2
  • warden-php-m2-xdebug2 (latest)
  • warden-php-m2-xdebug2:7.4
PHP for M2 with xDebug3
  • warden-php-m2-xdebug3 (latest)
  • warden-php-m2-xdebug3:8.1-deb
  • warden-php-m2-xdebug3:7.4-deb
  • warden-php-m2-xdebug3:7.3-deb
Magepack
  • warden-magepack (latest)
  • warden-magepack:2.3
MailHog
  • warden-mailhog (latest)
  • warden-mailhog:1.0
Nginx
  • warden-nginx (latest)
  • warden-nginx:1.18
  • warden-nginx:1.17
  • warden-nginx:1.16
Elasticsearch
  • warden-elasticsearch (latest)
  • warden-elasticsearch:7.9
Varnish
  • warden-varnish (latest)
  • warden-varnish:6.5
  • warden-varnish:6.4
  • warden-varnish:6.0

Steps to rebuild PHP images

  1. 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 version major.minor-deb.
  2. 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.

About

Warden is a CLI utility for orchestrating multi-arch Docker based developer environments

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 40.7%
  • SCSS 31.7%
  • Dockerfile 12.0%
  • HTML 7.6%
  • VCL 4.6%
  • JavaScript 3.4%