{"id":19768037,"url":"https://github.com/gmitirol/alpine39-php72","last_synced_at":"2026-05-06T19:02:28.653Z","repository":{"id":86250188,"uuid":"172678698","full_name":"gmitirol/alpine39-php72","owner":"gmitirol","description":"Alpine 3.9 Docker image with PHP 7.2","archived":false,"fork":false,"pushed_at":"2021-04-21T07:02:42.000Z","size":846,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-01-11T00:29:29.239Z","etag":null,"topics":["alpine","alpine-linux","docker","docker-image","php","php72"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gmitirol.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2019-02-26T09:21:10.000Z","updated_at":"2021-04-21T07:02:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"4777e182-dd6b-4697-84f3-cf561b50ade7","html_url":"https://github.com/gmitirol/alpine39-php72","commit_stats":null,"previous_names":[],"tags_count":27,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gmitirol%2Falpine39-php72","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gmitirol%2Falpine39-php72/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gmitirol%2Falpine39-php72/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gmitirol%2Falpine39-php72/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gmitirol","download_url":"https://codeload.github.com/gmitirol/alpine39-php72/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241100382,"owners_count":19909707,"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","alpine-linux","docker","docker-image","php","php72"],"created_at":"2024-11-12T04:34:21.212Z","updated_at":"2026-05-06T19:02:28.560Z","avatar_url":"https://github.com/gmitirol.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"Docker image for PHP 7.2\n========================\n\nProvides a PHP 7.2 docker image based on our [Alpine Linux 3.9 base image](https://github.com/gmitirol/alpine39).\n\nThis image can be used as a base for the testing and deployment of PHP applications.\n\nTo build the docker image, do not forget to adapt the base image version in `Dockerfile` where necessary.\n\nIncluded scripts:\n\n| Script                       | Purpose                                                                    |\n| --------------------------   | -------------------------------------------------------------------------- |\n| `php-ext.sh`                 | Enables, disables or shows PHP extensions                                  |\n| `php-extensions.sh`          | Provides helper functions for getting available and default PHP extensions |\n| `setup-gitlab-token-auth.sh` | Configures git and composer authentication via GitLab CI token             |\n| `setup-nginx.sh`             | Configures the built-in nginx web server                                   |\n\nIncluded tools:\n\n| Tool    | Description                      | Website                                       |\n| ------- | ------------------------------   | --------------------------------------------- |\n| `sami`  | Sami API documentation generator | https://github.com/FriendsOfPHP/Sami          |\n| `phpcs` | PHP CodeSniffer                  | https://github.com/squizlabs/PHP_CodeSniffer/ |\n\nFor running the PHP applications, a locked default user `project` with UID 1000 is created.\n\nUsage example (with custom GitLab server)\n-----------------------------------------\n\n```yaml\n# .gitlab-ci.yml\nstages:\n  - test\n\ntest:\n  stage: test\n  image: gmitirol/alpine39-php72:v1\n  artifacts:\n    expire_in: 1 hour\n    name: \"$CI_PROJECT_PATH_SLUG-$CI_PIPELINE_ID\"\n    paths:\n      - build/coverage\n      - build/doc\n  script:\n    - php-ext.sh enable 'xdebug'\n    - setup-gitlab-token-auth.sh \"$CI_JOB_TOKEN\" \"gitlab.example.com\"\n    - composer install --no-progress\n    - phpcs $CI_PROJECT_DIR/src $CI_PROJECT_DIR/tests --standard=PSR2\n    - php vendor/bin/phpunit $CI_PROJECT_DIR/tests --coverage-text -vv --colors=never\n    - sami update sami.php\n  tags:\n    - shared\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgmitirol%2Falpine39-php72","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgmitirol%2Falpine39-php72","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgmitirol%2Falpine39-php72/lists"}