{"id":23872002,"url":"https://github.com/devgine/symfony-golden-image","last_synced_at":"2026-02-19T14:31:40.771Z","repository":{"id":153457229,"uuid":"628970827","full_name":"devgine/symfony-golden-image","owner":"devgine","description":"Docker image based on official php, composer and alpine docker images. This image contains symfony framework with all its required extensions.","archived":false,"fork":false,"pushed_at":"2024-12-01T23:32:03.000Z","size":125,"stargazers_count":3,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-08T21:33:03.799Z","etag":null,"topics":["alpine","alpine-linux","composer","devops","docker","dockerfile","multi-environment","php","symfony","symfony-cli"],"latest_commit_sha":null,"homepage":"https://github.com/devgine/symfony-golden-image/pkgs/container/symfony-golden/versions","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devgine.png","metadata":{"files":{"readme":"README.md","changelog":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-04-17T11:05:31.000Z","updated_at":"2025-04-25T12:09:57.000Z","dependencies_parsed_at":"2024-04-05T15:49:36.825Z","dependency_job_id":"b8fc0252-951e-4060-8f79-cc9ff461af6b","html_url":"https://github.com/devgine/symfony-golden-image","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/devgine/symfony-golden-image","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devgine%2Fsymfony-golden-image","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devgine%2Fsymfony-golden-image/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devgine%2Fsymfony-golden-image/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devgine%2Fsymfony-golden-image/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devgine","download_url":"https://codeload.github.com/devgine/symfony-golden-image/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devgine%2Fsymfony-golden-image/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279014006,"owners_count":26085343,"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","status":"online","status_checked_at":"2025-10-13T02:00:06.723Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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","composer","devops","docker","dockerfile","multi-environment","php","symfony","symfony-cli"],"created_at":"2025-01-03T15:17:54.286Z","updated_at":"2025-10-13T02:16:41.563Z","avatar_url":"https://github.com/devgine.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Symfony docker image\n\n[![Build](https://github.com/devgine/symfony-golden-image/actions/workflows/build.yaml/badge.svg?branch=main)](https://github.com/devgine/symfony-golden-image/actions/workflows/build.yaml)\n![GitHub top language](https://img.shields.io/github/languages/top/devgine/symfony-golden-image)\n[![Packages retention policy](https://github.com/devgine/symfony-golden-image/actions/workflows/packages-retention-policy.yaml/badge.svg?branch=main)](https://github.com/devgine/symfony-golden-image/actions/workflows/packages-retention-policy.yaml)\n\n![cover.png](.readme/images/cover.png)\n\n## About\nThis repository is a docker image based on official php, composer and alpine docker images.\u003cbr\u003e\nThis image contains symfony framework installed with all its required extensions.\u003cbr\u003e\nIt's useful to easily set symfony project up\n\n## Image details\n### Available versions\nBelow is the list of all the available images by Symfony and PHP versions:\n\n\u003ctable\u003e\n    \u003cthead\u003e\n        \u003ctr\u003e\n            \u003cth\u003eSF Version\u003c/th\u003e\n            \u003cth\u003ePHP Version\u003c/th\u003e\n            \u003cth\u003eDocker image tag\u003c/th\u003e\n        \u003c/tr\u003e\n    \u003c/thead\u003e\n    \u003ctbody\u003e\n        \u003ctr\u003e\n            \u003ctd rowspan=\"3\"\u003e7.2\u003c/td\u003e\n            \u003ctd\u003e8.4\u003c/td\u003e\n            \u003ctd\u003e\n                \u003ccode\u003eghcr.io/devgine/symfony-golden:latest\u003c/code\u003e\u003cbr\u003e\n                \u003ccode\u003eghcr.io/devgine/symfony-golden:v7.2-php8.4-alpine\u003c/code\u003e\n            \u003c/td\u003e\n        \u003c/tr\u003e\n        \u003ctr\u003e\n            \u003ctd\u003e8.3\u003c/td\u003e\n            \u003ctd\u003e\n                \u003ccode\u003eghcr.io/devgine/symfony-golden:v7.2-php8.3-alpine\u003c/code\u003e\n            \u003c/td\u003e\n        \u003c/tr\u003e\n        \u003ctr\u003e\n            \u003ctd\u003e8.2\u003c/td\u003e\n            \u003ctd\u003e\n                \u003ccode\u003eghcr.io/devgine/symfony-golden:v7.2-php8.2-alpine\u003c/code\u003e\n            \u003c/td\u003e\n        \u003c/tr\u003e\n        \u003ctr\u003e\n            \u003ctd rowspan=\"3\"\u003e7.1\u003c/td\u003e\n            \u003ctd\u003e8.4\u003c/td\u003e\n            \u003ctd\u003e\n                \u003ccode\u003eghcr.io/devgine/symfony-golden:v7.1-php8.4-alpine\u003c/code\u003e\n            \u003c/td\u003e\n        \u003c/tr\u003e\n        \u003ctr\u003e\n            \u003ctd\u003e8.3\u003c/td\u003e\n            \u003ctd\u003e\n                \u003ccode\u003eghcr.io/devgine/symfony-golden:v7.1-php8.3-alpine\u003c/code\u003e\n            \u003c/td\u003e\n        \u003c/tr\u003e\n        \u003ctr\u003e\n            \u003ctd\u003e8.2\u003c/td\u003e\n            \u003ctd\u003e\n                \u003ccode\u003eghcr.io/devgine/symfony-golden:v7.1-php8.2-alpine\u003c/code\u003e\n            \u003c/td\u003e\n        \u003c/tr\u003e\n        \u003ctr\u003e\n            \u003ctd rowspan=\"3\"\u003e7.0\u003c/td\u003e\n            \u003ctd\u003e8.4\u003c/td\u003e\n            \u003ctd\u003e\n                \u003ccode\u003eghcr.io/devgine/symfony-golden:v7.0-php8.4-alpine\u003c/code\u003e\n            \u003c/td\u003e\n        \u003c/tr\u003e\n        \u003ctr\u003e\n            \u003ctd\u003e8.3\u003c/td\u003e\n            \u003ctd\u003e\n                \u003ccode\u003eghcr.io/devgine/symfony-golden:v7.0-php8.3-alpine\u003c/code\u003e\n            \u003c/td\u003e\n        \u003c/tr\u003e\n        \u003ctr\u003e\n            \u003ctd\u003e8.2\u003c/td\u003e\n            \u003ctd\u003e\n                \u003ccode\u003eghcr.io/devgine/symfony-golden:v7.0-php8.2-alpine\u003c/code\u003e\n            \u003c/td\u003e\n        \u003c/tr\u003e\n        \u003ctr\u003e\n            \u003ctd rowspan=\"4\"\u003e6.4\u003c/td\u003e\n            \u003ctd\u003e8.4\u003c/td\u003e\n            \u003ctd\u003e\n                \u003ccode\u003eghcr.io/devgine/symfony-golden:v6.4-php8.4-alpine\u003c/code\u003e\n            \u003c/td\u003e\n        \u003c/tr\u003e\n        \u003ctr\u003e\n            \u003ctd\u003e8.3\u003c/td\u003e\n            \u003ctd\u003e\n                \u003ccode\u003eghcr.io/devgine/symfony-golden:v6.4-php8.3-alpine\u003c/code\u003e\n            \u003c/td\u003e\n        \u003c/tr\u003e\n        \u003ctr\u003e\n            \u003ctd\u003e8.2\u003c/td\u003e\n            \u003ctd\u003e\n                \u003ccode\u003eghcr.io/devgine/symfony-golden:v6.4-php8.2-alpine\u003c/code\u003e\n            \u003c/td\u003e\n        \u003c/tr\u003e\n        \u003ctr\u003e\n            \u003ctd\u003e8.1\u003c/td\u003e\n            \u003ctd\u003e\u003ccode\u003eghcr.io/devgine/symfony-golden:v6.4-php8.1-alpine\u003c/code\u003e\u003c/td\u003e\n        \u003c/tr\u003e\n    \u003c/tbody\u003e\n\u003c/table\u003e\n\n### Environment variables\n\n| Variable          | Default | Description                                             |\n|-------------------|---------|---------------------------------------------------------|\n| SG_SERVER_ENABLED | true    | Status of symfony server (to be disabled in production) |\n\n## Usage\n### Install from the command line\n```shell\ndocker run -d -p 8000:8000 -v HOST_DIRECTORY:/var/www/symfony ghcr.io/devgine/symfony-golden:latest\n```\n\u003e You can change latest by a specific tag\u003cbr\u003e\n\u003e [Available versions](https://github.com/devgine/symfony-golden-image/pkgs/container/symfony-golden/versions)\n\nAfter the built-in, server will be started.\u003cbr\u003e\nVisit http://localhost:8000 in your web browser.\n\n**Connect to the container**\n```shell\ndocker exec -ti CONTAINER_ID sh\n```\n\n### Use as base image in Dockerfile\n```dockerfile\nFROM ghcr.io/devgine/symfony-golden:latest\n\n# Add your custom instructions here\n# example: install mongodb driver\nRUN set -xe \\\n    \u0026\u0026 apk add --no-cache --update --virtual .phpize-deps $PHPIZE_DEPS openssl curl-dev openssl-dev \\\n    \u0026\u0026 pecl install mongodb\n#...\n```\n\n### Use with docker compose\n```yaml\n# localhost:8000\nservices:\n  symfony:\n    image: ghcr.io/devgine/symfony-golden:latest\n    volumes:\n      - HOST_DIRECTORY:/var/www/symfony\n    ports:\n      - 8000:8000\n```\n\n**Access :** http://localhost:8000\n\n### Use with nginx\nFirst of all, configure nginx as recommended by symfony community\n\nhttps://symfony.com/doc/current/setup/web_server_configuration.html#nginx\n\n```yaml\n# compose.yaml\nservices:\n  nginx:\n    image: nginx:latest\n    volumes:\n      - HOST_DIRECTORY/public:/var/www/symfony/public\n      - ./nginx.conf:/etc/nginx/conf.d/default.conf\n    ports:\n      - 80:80\n\n  symfony:\n    image: ghcr.io/devgine/symfony-golden:latest\n    environment:\n      SG_SERVER_ENABLED: false # do not run symfony server\n    volumes:\n      - HOST_DIRECTORY:/var/www/symfony\n```\n\n**Access :** http://localhost\n\n## References\n\n* [Symfony releases](https://symfony.com/releases)\n* [PHP releases](https://www.php.net/supported-versions.php)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevgine%2Fsymfony-golden-image","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevgine%2Fsymfony-golden-image","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevgine%2Fsymfony-golden-image/lists"}