Skip to content

swow/docker-swow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Image for Swow

Build Latest Images License

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

Supported Tags and Respective Dockerfile Links

How to Use This Image

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"

Build Images Manually

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    .