{"id":16201983,"url":"https://github.com/atymic/docker-php-runner","last_synced_at":"2025-04-02T13:31:50.897Z","repository":{"id":66333597,"uuid":"205092316","full_name":"atymic/docker-php-runner","owner":"atymic","description":"Full featured PHP runner for PHP CI/CD builds \u0026 deployments.","archived":false,"fork":false,"pushed_at":"2019-08-29T10:38:58.000Z","size":3,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-17T01:51:11.218Z","etag":null,"topics":["continuous-delivery","continuous-integration","deployer","deployment","docker","php"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/atymic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2019-08-29T06:05:19.000Z","updated_at":"2024-06-01T13:26:46.000Z","dependencies_parsed_at":"2023-02-20T21:15:55.500Z","dependency_job_id":null,"html_url":"https://github.com/atymic/docker-php-runner","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atymic%2Fdocker-php-runner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atymic%2Fdocker-php-runner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atymic%2Fdocker-php-runner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atymic%2Fdocker-php-runner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/atymic","download_url":"https://codeload.github.com/atymic/docker-php-runner/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246823815,"owners_count":20839779,"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":["continuous-delivery","continuous-integration","deployer","deployment","docker","php"],"created_at":"2024-10-10T09:45:09.659Z","updated_at":"2025-04-02T13:31:50.884Z","avatar_url":"https://github.com/atymic.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PHP Runner\n\nThese docker images are meant for testing, building \u0026 deploying PHP code from CI tools that support docker images.  \nYou shouldn't use the images to run production servers.\n\n## Versions\n\n### PHP 7.2\n`atymic/php72-runner`\n![Docker Cloud Build Status](https://img.shields.io/docker/cloud/build/atymic/php72-runner)\n![Docker Pulls](https://img.shields.io/docker/pulls/atymic/php72-runner?style=flat-square)\n\n### PHP 7.3\n`atymic/php73-runner`\n![Docker Cloud Build Status](https://img.shields.io/docker/cloud/build/atymic/php73-runner)\n![Docker Pulls](https://img.shields.io/docker/pulls/atymic/php73-runner?style=flat-square)\n\n## Using the image\n\n### Gitlab\nThis is an example Gitlab pipline. You'll probably need to customise it for your purposes\n\n```yaml\nstages:\n  - build\n  - deploy\n\nbuild:php:\n  image: atymic/php73-runner\n  stage: build\n  script:\n    - phpcs\n    - phan # AST extension is installed\n    - ./vendor/bin/phpunit # or use local version\n\ndeploy:\n  stage: deploy\n  image: atymic/php73-runner\n  before_script:\n    - ssh-add \u003c(echo \"$PRIVATE_KEY\")\n  script:\n    - dep deploy production --tag=$CI_COMMIT_REF_NAME -vvv\n  only:\n    - master\n```\n\n## Features\n- Pre-built with almost all extensions\n- Use composer github token to avoid rate limits (`$COMPOSER_GITHUB`)\n- Set container time zone (`$TIMEZONE`)\n- Optional Xdebug support (`WITH_XDEBUG=true`)\n- Node, NPM \u0026 Yarn installed (but you should use a dedicated image for building JS/CSS if possible)\n- Common PHP build, linting, analysis and deployment tools baked in:\n    - `phpunit`\n    - `phpmd`\n    - `php_codesniffer`\n    - `phpstan`\n    - `psalm`\n    - `phan`\n    - `deployer` (\u0026 recipes)\n- Deployment tools (`rsync`, `ssh-agent`, `git`) \n\n\n## Credits\n\nThese images are based on [ambroisemaupate's work.](https://github.com/ambroisemaupate/docker/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatymic%2Fdocker-php-runner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatymic%2Fdocker-php-runner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatymic%2Fdocker-php-runner/lists"}