{"id":37822902,"url":"https://github.com/andreccosta/wordpress-xdebug-dockerbuild","last_synced_at":"2026-01-16T15:43:18.044Z","repository":{"id":48450277,"uuid":"96342403","full_name":"andreccosta/wordpress-xdebug-dockerbuild","owner":"andreccosta","description":"Wordpress with Xdebug Docker image","archived":false,"fork":false,"pushed_at":"2025-12-29T23:19:29.000Z","size":29,"stargazers_count":18,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-01-02T06:17:14.186Z","etag":null,"topics":["docker","wordpress","xdebug"],"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/andreccosta.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2017-07-05T17:03:40.000Z","updated_at":"2025-12-29T23:19:31.000Z","dependencies_parsed_at":"2023-01-26T15:16:51.342Z","dependency_job_id":null,"html_url":"https://github.com/andreccosta/wordpress-xdebug-dockerbuild","commit_stats":null,"previous_names":[],"tags_count":59,"template":false,"template_full_name":null,"purl":"pkg:github/andreccosta/wordpress-xdebug-dockerbuild","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreccosta%2Fwordpress-xdebug-dockerbuild","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreccosta%2Fwordpress-xdebug-dockerbuild/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreccosta%2Fwordpress-xdebug-dockerbuild/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreccosta%2Fwordpress-xdebug-dockerbuild/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andreccosta","download_url":"https://codeload.github.com/andreccosta/wordpress-xdebug-dockerbuild/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreccosta%2Fwordpress-xdebug-dockerbuild/sbom","scorecard":{"id":192543,"data":{"date":"2025-08-11","repo":{"name":"github.com/andreccosta/wordpress-xdebug-dockerbuild","commit":"7eab62309cf3444bd3e5a2b2a9da71d12202450d"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.6,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 2/24 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/docker-build.yml:1","Warn: no topLevel permission defined: .github/workflows/docker-publish.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Pinned-Dependencies","score":2,"reason":"dependency not pinned by hash detected -- score normalized to 2","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/docker-build.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/andreccosta/wordpress-xdebug-dockerbuild/docker-build.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/docker-publish.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/andreccosta/wordpress-xdebug-dockerbuild/docker-publish.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/docker-publish.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/andreccosta/wordpress-xdebug-dockerbuild/docker-publish.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/docker-publish.yml:49: update your workflow using https://app.stepsecurity.io/secureworkflow/andreccosta/wordpress-xdebug-dockerbuild/docker-publish.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/docker-publish.yml:69: update your workflow using https://app.stepsecurity.io/secureworkflow/andreccosta/wordpress-xdebug-dockerbuild/docker-publish.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/docker-publish.yml:87: update your workflow using https://app.stepsecurity.io/secureworkflow/andreccosta/wordpress-xdebug-dockerbuild/docker-publish.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/docker-publish.yml:90: update your workflow using https://app.stepsecurity.io/secureworkflow/andreccosta/wordpress-xdebug-dockerbuild/docker-publish.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/docker-publish.yml:95: update your workflow using https://app.stepsecurity.io/secureworkflow/andreccosta/wordpress-xdebug-dockerbuild/docker-publish.yml/main?enable=pin","Warn: containerImage not pinned by hash: .github/actions/get-dockerhub-version-tag/Dockerfile:1","Warn: containerImage not pinned by hash: .github/actions/get-dockerhub-version-tag/Dockerfile:13: pin your Docker image by updating gcr.io/distroless/static to gcr.io/distroless/static@sha256:2e114d20aa6371fd271f854aa3d6b2b7d2e70e797bb3ea44fb677afec60db22c","Warn: containerImage not pinned by hash: .github/actions/get-pecl-package-version/Dockerfile:1","Warn: containerImage not pinned by hash: .github/actions/get-pecl-package-version/Dockerfile:13: pin your Docker image by updating gcr.io/distroless/static to gcr.io/distroless/static@sha256:2e114d20aa6371fd271f854aa3d6b2b7d2e70e797bb3ea44fb677afec60db22c","Warn: containerImage not pinned by hash: Dockerfile:1: pin your Docker image by updating wordpress:latest to wordpress:latest@sha256:61f0972e32cf545e012aeaae53e293734a7fa8fc3fc557436399fd859745454f","Info:   0 out of   6 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 third-party GitHubAction dependencies pinned","Info:   0 out of   5 containerImage dependencies pinned","Info:   2 out of   2 goCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/docker-publish.yml:79"],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 12 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-16T21:05:02.496Z","repository_id":48450277,"created_at":"2025-08-16T21:05:02.496Z","updated_at":"2025-08-16T21:05:02.496Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28479409,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: 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":["docker","wordpress","xdebug"],"created_at":"2026-01-16T15:43:17.949Z","updated_at":"2026-01-16T15:43:18.032Z","avatar_url":"https://github.com/andreccosta.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Wordpress with XDebug Docker image\n\n## Usage\n\nThe XDebug extension can be configured via environment variables. Namely **XDEBUG_MODE** and **XDEBUG_CONFIG**.\n\nFor example to allow XDebug to try to automatically connect back to the client that made the HTTP request you would add `discover_client_host=true` to **XDEBUG_CONFIG**. Or in scenarios where that is not feasible you would provide the Docker host IP address and set it as `client_host=\u003chost ip\u003e`.\n\nFor Docker 18.03.x and up, non-Linux users should be able to just use `client_host=host.docker.internal`. Linux users should configure `extra_hosts` with `host-gateway` instead.\n\nYou can check additional information about what XDebug settings are available in the documentation [here](https://xdebug.org/docs/all_settings).\n\n## Docker Compose\n\nExample configuration file `docker-compose.yml`:\n\n```yml\nservices:\n  db:\n    image: mariadb:11\n    restart: on-failure\n    environment:\n      MARIADB_ROOT_PASSWORD: wordpress\n      MARIADB_DATABASE: wordpress\n      MARIADB_USER: wordpress\n      MARIADB_PASSWORD: wordpress\n\n  wp:\n    depends_on:\n      - db\n    image: andreccosta/wordpress-xdebug:latest\n    volumes:\n      - ./wp:/var/www/html\n    ports:\n      - 8080:80\n    restart: on-failure\n    extra_hosts:\n      - \"host.docker.internal:host-gateway\"\n    environment:\n      WORDPRESS_DB_HOST: db:3306\n      WORDPRESS_DB_USER: wordpress\n      WORDPRESS_DB_PASSWORD: wordpress\n      XDEBUG_MODE: debug\n      XDEBUG_CONFIG: start_with_request=yes client_host=host.docker.internal client_port=9003\n```\n\n## Visual Studio Code\n\nTo use XDebug in Visual Studio Code you need the [PHP Debug extension](https://marketplace.visualstudio.com/items?itemName=felixfbecker.php-debug).\n\nAlso to make VS Code map the paths on the container to the ones on the host, you have to set the pathMappings settings in your `launch.json`.\n\nExample configuration file `.vscode/launch.json`:\n\n```json\n{\n  \"version\": \"0.2.0\",\n  \"configurations\": [\n    {\n      \"name\": \"Listen for XDebug\",\n      \"type\": \"php\",\n      \"request\": \"launch\",\n      \"port\": 9003,\n      \"pathMappings\": {\n        \"/var/www/html\": \"${workspaceRoot}/wp\",\n      }\n    }\n  ]\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreccosta%2Fwordpress-xdebug-dockerbuild","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandreccosta%2Fwordpress-xdebug-dockerbuild","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreccosta%2Fwordpress-xdebug-dockerbuild/lists"}