Docker images for the Swow extension. You can pull the images from Docker Hub:
docker pull swow/swow
docker pull swow/swow:php8.0-alpine
docker pull swow/swow:php8.0-cli
docker pull swow/swow:php8.0-fpm
- latest images (built with the develop branch of swow)
This image is built based on the official PHP image, thus you can use it the same way as using the official PHP image.
Here are some sample commands:
docker run --rm -ti swow/swow sh -c "php -v"
docker run --rm -ti swow/swow sh -c "php --ri swow"
docker run --rm -ti swow/swow sh -c "composer -v"
Use commands like following to build the images locally:
docker build -t swow/swow -f dockerfiles/alpine/php8.0/Dockerfile .
docker build -t swow/swow:php8.0-alpine -f dockerfiles/alpine/php8.0/Dockerfile .
docker build -t swow/swow:php8.0-cli -f dockerfiles/cli/php8.0/Dockerfile .
docker build -t swow/swow:php8.0-fpm -f dockerfiles/fpm/php8.0/Dockerfile .