{"id":13527716,"url":"https://github.com/webdevops/Dockerfile","last_synced_at":"2025-04-01T09:32:11.463Z","repository":{"id":1891330,"uuid":"44695081","full_name":"webdevops/Dockerfile","owner":"webdevops","description":":package: Dockerfiles from WebDevOps for PHP, Apache and Nginx","archived":false,"fork":false,"pushed_at":"2025-02-22T09:26:54.000Z","size":9366,"stargazers_count":1694,"open_issues_count":127,"forks_count":495,"subscribers_count":81,"default_branch":"master","last_synced_at":"2025-03-27T12:06:34.447Z","etag":null,"topics":["alpine","apache-httpd","docker","docker-image","docker-testing","dockerfile","dockerfiles","liquibase","nginx","php","php-fpm","webdevops"],"latest_commit_sha":null,"homepage":"https://webdevops.io/projects/dockerfiles/","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/webdevops.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-10-21T18:09:48.000Z","updated_at":"2025-03-24T06:42:29.000Z","dependencies_parsed_at":"2024-06-28T21:31:07.424Z","dependency_job_id":"16d6bab3-1768-466c-a323-eaaa5a21db0f","html_url":"https://github.com/webdevops/Dockerfile","commit_stats":{"total_commits":1612,"total_committers":56,"mean_commits":"28.785714285714285","dds":"0.23573200992555832","last_synced_commit":"4e854cd7da47e39637fd1e762451d3103e15d2c6"},"previous_names":[],"tags_count":103,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webdevops%2FDockerfile","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webdevops%2FDockerfile/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webdevops%2FDockerfile/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webdevops%2FDockerfile/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webdevops","download_url":"https://codeload.github.com/webdevops/Dockerfile/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246616482,"owners_count":20806147,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["alpine","apache-httpd","docker","docker-image","docker-testing","dockerfile","dockerfiles","liquibase","nginx","php","php-fpm","webdevops"],"created_at":"2024-08-01T06:01:58.298Z","updated_at":"2025-04-01T09:32:06.453Z","avatar_url":"https://github.com/webdevops.png","language":"Shell","readme":"# PHP docker images with super powers 🚀\n\nWe provide images which extend the official [PHP-Images](https://hub.docker.com/_/php/tags).\nWe add additional stuff like:\n\n* almost any PHP module preinstalled\n* configuration based on ENV variables\n* run multiple services (like php-fpm and nginx) with supervisord\n\n[![GitHub issues](https://img.shields.io/github/issues/webdevops/Dockerfile.svg)](https://github.com/webdevops/Dockerfile/issues)[![GitHub forks](https://img.shields.io/github/forks/webdevops/Dockerfile.svg)](https://github.com/webdevops/Dockerfile/network)[![GitHub stars](https://img.shields.io/github/stars/webdevops/Dockerfile.svg)](https://github.com/webdevops/Dockerfile/stargazers)[![GitHub license](https://img.shields.io/github/license/webdevops/Dockerfile.svg)](https://github.com/webdevops/Dockerfile/blob/master/LICENSE)\n[![pipeline status](https://gitlab.com/webdevops/dockerfile/badges/master/pipeline.svg)](https://gitlab.com/webdevops/dockerfile/commits/master)\n\n\n\nAutomated build and test running on [Gitlab CI](https://gitlab.com/webdevops/dockerfile/) \\(GitLab.com CI custom Google Cloud runner\\) sponsored by [Onedrop GmbH \u0026 Co. KG](https://1drop.de).\n\n[![Docker layout](documentation/gitbook/.gitbook/assets/docker-image-layout.gv.png)](https://github.com/webdevops/Dockerfile/tree/511a870fa90fe53da5c63a95b4254f6980e6d3d2/documentation/docs/resources/images/docker-image-layout.gv.png)\n\n## Communication and support\n\nOr write an issue in our [GitHub repository](https://github.com/webdevops/Dockerfile/issues).\n\nOr join our discord https://discord.gg/gnYPfZhX\n\n## Build process\n\n### File generation\n\nThe general build process is currently a mixture of python jinja2 legacy and PHP.\n\nFirst we build the files inside the `docker` directory using this command:\n\n```\ndocker run --rm -ti -v $PWD:/app -w /app webdevops/dockerfile-build-env make provision\n``` \n\nIt will use the Jinja2 templates inside of the `template` directory and the \nconfig files from the `provisioning` directory.\n\n**The files in the `docker` directory are never modified manually**\n\n*This will be replaced with PHP twig templates in the future to streamline everything.*\n\n### Building in CI\n\nWe generate a multi stage Gitlab-CI configuration using PHP:\n\n```\ndocker run --rm -ti -v $PWD:/app -w /app/ci webdevops/php:8.1 composer install\ndocker run --rm -ti -v $PWD:/app -w /app webdevops/php:8.1 ci/console gitlab:generate\n```\n\nGitlab CI builds every image independant and runs serverspec and structure tests on every\nimage before pushing them to the registry.\n\n## Documentation\n\nAs in many projects the documentation is kind of up to date 😅.\n\n* [Old version of the documentation is available on readthedocs](https://dockerfile.readthedocs.io/)\n* [New version is currently being written on gitbook](https://webdevops.gitbook.io/dockerfile)\n\n### Debian PHP\n\nThe following images which are currently supported are based on `php:{VER}-fpm-buster`.\n\n* `webdevops/php:8.0`\n* `webdevops/php:8.1`\n* `webdevops/php:8.2`\n* `webdevops/php:8.3`\n* `webdevops/php-dev:8.0`\n* `webdevops/php-dev:8.1`\n* `webdevops/php-dev:8.2`\n* `webdevops/php-dev:8.3`\n* `webdevops/php-apache:8.0`\n* `webdevops/php-apache:8.1`\n* `webdevops/php-apache:8.2`\n* `webdevops/php-apache:8.3`\n* `webdevops/php-apache-dev:8.0`\n* `webdevops/php-apache-dev:8.1`\n* `webdevops/php-apache-dev:8.2`\n* `webdevops/php-apache-dev:8.3`\n* `webdevops/php-nginx:8.0`\n* `webdevops/php-nginx:8.1`\n* `webdevops/php-nginx:8.2`\n* `webdevops/php-nginx:8.3`\n* `webdevops/php-nginx-dev:8.0`\n* `webdevops/php-nginx-dev:8.1`\n* `webdevops/php-nginx-dev:8.2`\n* `webdevops/php-nginx-dev:8.3`\n\n\n### Alpine PHP\n\nThe following images which are currently supported are based on `php:{VER}-fpm-alpine`.\n\n* `webdevops/php:8.0-alpine`\n* `webdevops/php:8.1-alpine`\n* `webdevops/php:8.2-alpine`\n* `webdevops/php:8.3-alpine`\n* `webdevops/php-dev:8.0-alpine`\n* `webdevops/php-dev:8.1-alpine`\n* `webdevops/php-dev:8.2-alpine`\n* `webdevops/php-dev:8.3-alpine`\n* `webdevops/php-apache:8.0-alpine`\n* `webdevops/php-apache:8.1-alpine`\n* `webdevops/php-apache:8.2-alpine`\n* `webdevops/php-apache:8.3-alpine`\n* `webdevops/php-apache-dev:8.0-alpine`\n* `webdevops/php-apache-dev:8.1-alpine`\n* `webdevops/php-apache-dev:8.2-alpine`\n* `webdevops/php-apache-dev:8.3-alpine`\n* `webdevops/php-nginx:8.0-alpine`\n* `webdevops/php-nginx:8.1-alpine`\n* `webdevops/php-nginx:8.2-alpine`\n* `webdevops/php-nginx:8.3-alpine`\n* `webdevops/php-nginx-dev:8.0-alpine`\n* `webdevops/php-nginx-dev:8.1-alpine`\n* `webdevops/php-nginx-dev:8.2-alpine`\n* `webdevops/php-nginx-dev:8.3-alpine`\n","funding_links":[],"categories":["Shell","ubuntu"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebdevops%2FDockerfile","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebdevops%2FDockerfile","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebdevops%2FDockerfile/lists"}