{"id":19768035,"url":"https://github.com/gmitirol/alpine37-php71","last_synced_at":"2026-04-07T20:31:34.585Z","repository":{"id":86250179,"uuid":"131579524","full_name":"gmitirol/alpine37-php71","owner":"gmitirol","description":"Alpine 3.7 Docker image with PHP 7.1","archived":false,"fork":false,"pushed_at":"2020-12-16T14:37:22.000Z","size":1002,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-02-28T10:58:22.791Z","etag":null,"topics":["alpine","alpine-linux","docker","docker-image","php","php71"],"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-04-30T09:49:33.000Z","updated_at":"2020-12-16T14:37:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"5f95b02f-a075-431f-b74d-7ce28c902f5f","html_url":"https://github.com/gmitirol/alpine37-php71","commit_stats":null,"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"purl":"pkg:github/gmitirol/alpine37-php71","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gmitirol%2Falpine37-php71","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gmitirol%2Falpine37-php71/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gmitirol%2Falpine37-php71/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gmitirol%2Falpine37-php71/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gmitirol","download_url":"https://codeload.github.com/gmitirol/alpine37-php71/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gmitirol%2Falpine37-php71/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31528284,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T16:28:08.000Z","status":"ssl_error","status_checked_at":"2026-04-07T16:28:06.951Z","response_time":105,"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","php71"],"created_at":"2024-11-12T04:34:20.972Z","updated_at":"2026-04-07T20:31:34.548Z","avatar_url":"https://github.com/gmitirol.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"Docker image for PHP 7.1\n========================\n\nProvides a PHP 7.1 docker image based on our [Alpine Linux 3.7 base image](https://github.com/gmitirol/alpine37).\n\nThis image can be used as a base for the testing and deployment of PHP applications.\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\nTo build the docker image, do not forget to adapt the base image version in `Dockerfile` where necessary.\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/alpine37-php71:v2\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%2Falpine37-php71","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgmitirol%2Falpine37-php71","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgmitirol%2Falpine37-php71/lists"}