fizzgolf icon indicating copy to clipboard operation
fizzgolf copied to clipboard

Fix PHP docker configuration

Open therealgaxbo opened this issue 3 years ago • 0 comments

The previous config piped all fizzbuzz output from the container to the host. This is inherently slow, but as docker logs all stdout by default it's glacial. Instead, run pv inside the container.

To make docker play well with score.py I had to trap the script exiting and manually docker kill the container - perhaps there's a better way?

Also changed the image to use a regular (non ZTS) php build, and enable the JIT compiler.

therealgaxbo avatar Jun 20 '22 11:06 therealgaxbo