{"id":19768030,"url":"https://github.com/gmitirol/alpine38-php72","last_synced_at":"2026-04-13T13:31:47.223Z","repository":{"id":86250184,"uuid":"143835492","full_name":"gmitirol/alpine38-php72","owner":"gmitirol","description":"Alpine 3.8 Docker image with PHP 7.2","archived":false,"fork":false,"pushed_at":"2021-04-21T07:17:08.000Z","size":848,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-07-30T17:22:17.028Z","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":"2018-08-07T07:21:14.000Z","updated_at":"2021-04-21T07:17:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"8b2c75d6-641f-4291-9a49-41d42c438e5b","html_url":"https://github.com/gmitirol/alpine38-php72","commit_stats":null,"previous_names":[],"tags_count":22,"template":false,"template_full_name":null,"purl":"pkg:github/gmitirol/alpine38-php72","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gmitirol%2Falpine38-php72","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gmitirol%2Falpine38-php72/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gmitirol%2Falpine38-php72/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gmitirol%2Falpine38-php72/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gmitirol","download_url":"https://codeload.github.com/gmitirol/alpine38-php72/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gmitirol%2Falpine38-php72/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31754832,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T13:27:56.013Z","status":"ssl_error","status_checked_at":"2026-04-13T13:21:23.512Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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:20.090Z","updated_at":"2026-04-13T13:31:47.206Z","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.8 base image](https://github.com/gmitirol/alpine38).\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/alpine38-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%2Falpine38-php72","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgmitirol%2Falpine38-php72","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgmitirol%2Falpine38-php72/lists"}