-
-
Save Crell/a15b15028c0a470ca45edbd8a31f7ffd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM php:8.1.0RC3-cli | |
WORKDIR /usr/src/myapp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
configure: | |
docker-compose run --rm php81 nice php doc-base/configure.php | |
# This version has better debug output. | |
configure-details: | |
docker-compose run --rm php81 nice php doc-base/configure.php --enable-xml-details | |
xhtml: configure | |
docker-compose run --rm php81 php -dmemory_limit=256M phd/render.php --docbook doc-base/.manual.xml --package PHP --format xhtml | |
web: configure | |
docker-compose run --rm php81 php -dmemory_limit=256M phd/render.php --docbook doc-base/.manual.xml --package PHP --format php | |
server: | |
cd web-php && php -S localhost:8081 .router.php | |
shell: | |
docker-compose run --rm php81 bash | |
update: | |
cd doc-base && git pull | |
cd en && git pull | |
cd phd && git pull | |
cd web-php && git pull | |
clean: | |
docker-compose run --rm php81 rm -rf output/* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment