Multiarch (amd64 and arm) Docker image with PHP 7.2 and Swoole.
Based on the great work of the Swoole contributors.
Running
make build
will build an Docker image 5square/php-swoole
with tag <GIT_TAG>-<COMMIT>
make run
will build the image and start a container called swoole_test_run
. As an example, a simple webserver is being started, which listens and responds on port 9501 (localhost).
docker run \
--rm \
-p 9501:9501 \
5square/php-swoole