{"id":15740023,"url":"https://github.com/brettt89/silverstripe-docker","last_synced_at":"2025-03-16T03:05:29.629Z","repository":{"id":47018996,"uuid":"88396275","full_name":"brettt89/silverstripe-docker","owner":"brettt89","description":"Silverstripe - PHP Docker Environments","archived":false,"fork":false,"pushed_at":"2024-09-03T22:48:46.000Z","size":203,"stargazers_count":52,"open_issues_count":1,"forks_count":25,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-02-28T20:37:17.478Z","etag":null,"topics":["docker","php","silverstripe","silverstripe-web"],"latest_commit_sha":null,"homepage":"","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/brettt89.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}},"created_at":"2017-04-16T06:45:14.000Z","updated_at":"2024-12-03T01:49:15.000Z","dependencies_parsed_at":"2024-05-22T00:23:10.252Z","dependency_job_id":"abd131de-4f85-44c3-bfcb-5b8a0ec79bee","html_url":"https://github.com/brettt89/silverstripe-docker","commit_stats":{"total_commits":73,"total_committers":7,"mean_commits":"10.428571428571429","dds":0.3972602739726028,"last_synced_commit":"5eff595e901a7087408b63932c12ea2d39d91eb0"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brettt89%2Fsilverstripe-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brettt89%2Fsilverstripe-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brettt89%2Fsilverstripe-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brettt89%2Fsilverstripe-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brettt89","download_url":"https://codeload.github.com/brettt89/silverstripe-docker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243818194,"owners_count":20352629,"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":["docker","php","silverstripe","silverstripe-web"],"created_at":"2024-10-04T02:10:40.207Z","updated_at":"2025-03-16T03:05:29.604Z","avatar_url":"https://github.com/brettt89.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":" - ![GitHub CI](https://github.com/brettt89/silverstripe-docker/workflows/GitHub%20CI/badge.svg?branch=master)\n - ![Release](https://github.com/brettt89/silverstripe-docker/workflows/Release/badge.svg?branch=master)\n\n# Quick reference\n\n-\t**Where to file issues**:  \n\t[https://github.com/brettt89/silverstripe-docker/issues](https://github.com/brettt89/silverstripe-docker/issues)\n\n-\t**Supported architectures**: ([more info](https://github.com/docker-library/official-images#architectures-other-than-amd64))  \n\t`amd64`, `arm64v8`\n\n# Supported Tags and respective `Dockerfile` links\n\n\u003e Due to [Silverstripe's supported php versions](https://docs.silverstripe.org/en/4/getting_started/server_requirements/#php-support) not including 8.2 for current release, PHP 8.1 Apache is still tagged as `latest` and PHP 8.2 images are tested using 5.x-dev branch at time of test execution (This will be updated to tagged 5.x release at later date).\n\n- [`8.3-apache-bookworm`, `8.3-apache`, `8.3`, `latest`](https://github.com/brettt89/silverstripe-docker/blob/master/src/8.3/apache/bookworm/Dockerfile)\n- [`8.3-apache-bullseye`](https://github.com/brettt89/silverstripe-docker/blob/master/src/8.3/apache/bullseye/Dockerfile)\n- [`8.3-fpm-bookworm`, `8.3-fpm`](https://github.com/brettt89/silverstripe-docker/blob/master/src/8.3/fpm/bookworm/Dockerfile)\n- [`8.3-fpm-bullseye`](https://github.com/brettt89/silverstripe-docker/blob/master/src/8.3/fpm/bullseye/Dockerfile)\n- [`8.3-fpm-alpine`](https://github.com/brettt89/silverstripe-docker/blob/master/src/8.3/fpm/alpine/Dockerfile)\n- [`8.3-cli-bookworm`, `8.3-cli`](https://github.com/brettt89/silverstripe-docker/blob/master/src/8.3/cli/bookworm/Dockerfile)\n- [`8.3-cli-bullseye`](https://github.com/brettt89/silverstripe-docker/blob/master/src/8.3/cli/bullseye/Dockerfile)\n- [`8.3-cli-alpine`](https://github.com/brettt89/silverstripe-docker/blob/master/src/8.3/cli/alpine/Dockerfile)\n- [`8.2-apache-bookworm`, `8.2-apache`, `8.2`](https://github.com/brettt89/silverstripe-docker/blob/master/src/8.2/apache/bookworm/Dockerfile)\n- [`8.2-apache-bullseye`](https://github.com/brettt89/silverstripe-docker/blob/master/src/8.2/apache/bullseye/Dockerfile)\n- [`8.2-fpm-bookworm`, `8.2-fpm`](https://github.com/brettt89/silverstripe-docker/blob/master/src/8.2/fpm/bookworm/Dockerfile)\n- [`8.2-fpm-bullseye`](https://github.com/brettt89/silverstripe-docker/blob/master/src/8.2/fpm/bullseye/Dockerfile)\n- [`8.2-fpm-alpine`](https://github.com/brettt89/silverstripe-docker/blob/master/src/8.2/fpm/alpine/Dockerfile)\n- [`8.2-cli-bookworm`, `8.2-cli`](https://github.com/brettt89/silverstripe-docker/blob/master/src/8.2/cli/bookworm/Dockerfile)\n- [`8.2-cli-bullseye`](https://github.com/brettt89/silverstripe-docker/blob/master/src/8.2/cli/bullseye/Dockerfile)\n- [`8.2-cli-alpine`](https://github.com/brettt89/silverstripe-docker/blob/master/src/8.2/cli/alpine/Dockerfile)\n- [`8.1-apache-bookworm`, `8.1-apache`, `8.1`](https://github.com/brettt89/silverstripe-docker/blob/master/src/8.1/apache/bookworm/Dockerfile)\n- [`8.1-apache-bullseye`](https://github.com/brettt89/silverstripe-docker/blob/master/src/8.1/apache/bullseye/Dockerfile)\n- [`8.1-fpm-bookworm`, `8.1-fpm`](https://github.com/brettt89/silverstripe-docker/blob/master/src/8.1/fpm/bookworm/Dockerfile)\n- [`8.1-fpm-bullseye`](https://github.com/brettt89/silverstripe-docker/blob/master/src/8.1/fpm/bullseye/Dockerfile)\n- [`8.1-fpm-alpine`](https://github.com/brettt89/silverstripe-docker/blob/master/src/8.1/fpm/alpine/Dockerfile)\n- [`8.1-cli-bookworm`, `8.1-cli`](https://github.com/brettt89/silverstripe-docker/blob/master/src/8.1/cli/bookworm/Dockerfile)\n- [`8.1-cli-bullseye`](https://github.com/brettt89/silverstripe-docker/blob/master/src/8.1/cli/bullseye/Dockerfile)\n- [`8.1-cli-alpine`](https://github.com/brettt89/silverstripe-docker/blob/master/src/8.1/cli/alpine/Dockerfile)\n\n# Legacy Tags and respective `Dockerfile` links\n\nLegacy Tags are PHP versions which are no longer directly supported by PHP. As the underlying PHP images are no longer updated, new builds for these legacy tags will not be released.\n\n- [`8.2-apache-buster`](https://github.com/brettt89/silverstripe-docker/blob/f417a6e165ef89613b50e65845cdaccd121073be/src/8.2/apache/Dockerfile)\n- [`8.2-fpm-buster`](https://github.com/brettt89/silverstripe-docker/blob/f417a6e165ef89613b50e65845cdaccd121073be/src/8.2/fpm/buster/Dockerfile)\n- [`8.2-cli-buster`](https://github.com/brettt89/silverstripe-docker/blob/f417a6e165ef89613b50e65845cdaccd121073be/src/8.2/cli/buster/Dockerfile)\n- [`8.1-apache-buster`](https://github.com/brettt89/silverstripe-docker/blob/f417a6e165ef89613b50e65845cdaccd121073be/src/8.1/apache/Dockerfile)\n- [`8.1-fpm-buster`](https://github.com/brettt89/silverstripe-docker/blob/f417a6e165ef89613b50e65845cdaccd121073be/src/8.1/fpm/buster/Dockerfile)\n- [`8.1-cli-buster`](https://github.com/brettt89/silverstripe-docker/blob/f417a6e165ef89613b50e65845cdaccd121073be/src/8.1/cli/buster/Dockerfile)\n- [`8.0-apache-bullseye`, `8.0-apache`, `8.0`](https://github.com/brettt89/silverstripe-docker/blob/f417a6e165ef89613b50e65845cdaccd121073be/src/8.0/apache/bullseye/Dockerfile)\n- [`8.0-apache-buster`](https://github.com/brettt89/silverstripe-docker/blob/f417a6e165ef89613b50e65845cdaccd121073be/src/8.0/apache/Dockerfile)\n- [`8.0-fpm-bullseye`, `8.0-fpm`](https://github.com/brettt89/silverstripe-docker/blob/f417a6e165ef89613b50e65845cdaccd121073be/src/8.0/fpm/bullseye/Dockerfile)\n- [`8.0-fpm-buster`](https://github.com/brettt89/silverstripe-docker/blob/f417a6e165ef89613b50e65845cdaccd121073be/src/8.0/fpm/buster/Dockerfile)\n- [`8.0-fpm-alpine`](https://github.com/brettt89/silverstripe-docker/blob/f417a6e165ef89613b50e65845cdaccd121073be/src/8.0/fpm/alpine/Dockerfile)\n- [`8.0-cli-bullseye`, `8.0-cli`](https://github.com/brettt89/silverstripe-docker/blob/f417a6e165ef89613b50e65845cdaccd121073be/src/8.0/cli/bullseye/Dockerfile)\n- [`8.0-cli-buster`](https://github.com/brettt89/silverstripe-docker/blob/f417a6e165ef89613b50e65845cdaccd121073be/src/8.0/cli/buster/Dockerfile)\n- [`8.0-cli-alpine`](https://github.com/brettt89/silverstripe-docker/blob/f417a6e165ef89613b50e65845cdaccd121073be/src/8.0/cli/alpine/Dockerfile)\n- [`7.4-apache-bullseye`, `7.4-apache`, `7.4`](https://github.com/brettt89/silverstripe-docker/blob/50d2451a2e055774dca9444fc939dd0aae4316df/src/7.4/apache/bullseye/Dockerfile)\n- [`7.4-apache-buster`](https://github.com/brettt89/silverstripe-docker/blob/50d2451a2e055774dca9444fc939dd0aae4316df/src/7.4/apache/Dockerfile)\n- [`7.4-fpm-bullseye`, `7.4-fpm`](https://github.com/brettt89/silverstripe-docker/blob/50d2451a2e055774dca9444fc939dd0aae4316df/src/7.4/fpm/bullseye/Dockerfile)\n- [`7.4-fpm-buster`](https://github.com/brettt89/silverstripe-docker/blob/50d2451a2e055774dca9444fc939dd0aae4316df/src/7.4/fpm/buster/Dockerfile)\n- [`7.4-fpm-alpine`](https://github.com/brettt89/silverstripe-docker/blob/50d2451a2e055774dca9444fc939dd0aae4316df/src/7.4/fpm/alpine/Dockerfile)\n- [`7.4-cli-bullseye`, `7.4-cli`](https://github.com/brettt89/silverstripe-docker/blob/50d2451a2e055774dca9444fc939dd0aae4316df/src/7.4/cli/bullseye/Dockerfile)\n- [`7.4-cli-buster`](https://github.com/brettt89/silverstripe-docker/blob/50d2451a2e055774dca9444fc939dd0aae4316df/src/7.4/cli/buster/Dockerfile)\n- [`7.4-cli-alpine`](https://github.com/brettt89/silverstripe-docker/blob/50d2451a2e055774dca9444fc939dd0aae4316df/src/7.4/cli/alpine/Dockerfile)\n- [`7.3-apache-buster`, `7.3-apache`, `7.3`](https://github.com/brettt89/silverstripe-docker/blob/631689ae1a11d900cb9b949884ed955a86bf0cf5/src/7.3/apache/buster/Dockerfile)\n- [`7.3-fpm-buster`, `7.3-fpm`](https://github.com/brettt89/silverstripe-docker/blob/631689ae1a11d900cb9b949884ed955a86bf0cf5/src/7.3/fpm/buster/Dockerfile)\n- [`7.3-cli-buster`, `7.3-cli`](https://github.com/brettt89/silverstripe-docker/blob/631689ae1a11d900cb9b949884ed955a86bf0cf5/src/7.3/cli/buster/Dockerfile)\n- [`7.3-apache-stretch`](https://github.com/brettt89/silverstripe-docker/blob/631689ae1a11d900cb9b949884ed955a86bf0cf5/src/7.3/apache/stretch/Dockerfile)\n- [`7.3-fpm-stretch`](https://github.com/brettt89/silverstripe-docker/blob/631689ae1a11d900cb9b949884ed955a86bf0cf5/src/7.3/fpm/stretch/Dockerfile)\n- [`7.3-cli-stretch`](https://github.com/brettt89/silverstripe-docker/blob/631689ae1a11d900cb9b949884ed955a86bf0cf5/src/7.3/cli/stretch/Dockerfile)\n- [`7.3-fpm-alpine`](https://github.com/brettt89/silverstripe-docker/blob/631689ae1a11d900cb9b949884ed955a86bf0cf5/src/7.3/fpm/alpine/Dockerfile)\n- [`7.3-cli-alpine`](https://github.com/brettt89/silverstripe-docker/blob/631689ae1a11d900cb9b949884ed955a86bf0cf5/src/7.3/cli/alpine/Dockerfile)\n- [`7.2-apache-buster`, `7.2-apache`, `7.2`](https://github.com/brettt89/silverstripe-docker/blob/631689ae1a11d900cb9b949884ed955a86bf0cf5/src/7.2/apache/buster/Dockerfile)\n- [`7.2-fpm-buster`, `7.2-fpm`](https://github.com/brettt89/silverstripe-docker/blob/631689ae1a11d900cb9b949884ed955a86bf0cf5/src/7.2/fpm/buster/Dockerfile)\n- [`7.2-cli-buster`, `7.2-cli`](https://github.com/brettt89/silverstripe-docker/blob/631689ae1a11d900cb9b949884ed955a86bf0cf5/src/7.2/cli/buster/Dockerfile)\n- [`7.2-apache-stretch`](https://github.com/brettt89/silverstripe-docker/blob/631689ae1a11d900cb9b949884ed955a86bf0cf5/src/7.2/apache/stretch/Dockerfile)\n- [`7.2-fpm-stretch`](https://github.com/brettt89/silverstripe-docker/blob/631689ae1a11d900cb9b949884ed955a86bf0cf5/src/7.2/fpm/stretch/Dockerfile)\n- [`7.2-cli-stretch`](https://github.com/brettt89/silverstripe-docker/blob/631689ae1a11d900cb9b949884ed955a86bf0cf5/src/7.2/cli/stretch/Dockerfile)\n- [`7.2-fpm-alpine`](https://github.com/brettt89/silverstripe-docker/blob/631689ae1a11d900cb9b949884ed955a86bf0cf5/src/7.2/fpm/alpine/Dockerfile)\n- [`7.2-cli-alpine`](https://github.com/brettt89/silverstripe-docker/blob/631689ae1a11d900cb9b949884ed955a86bf0cf5/src/7.2/cli/alpine/Dockerfile)\n- [`7.1-apache-buster`, `7.1-apache`, `7.1`](https://github.com/brettt89/silverstripe-docker/blob/631689ae1a11d900cb9b949884ed955a86bf0cf5/src/7.1/apache/buster/Dockerfile)\n- [`7.1-fpm-buster`, `7.1-fpm`](https://github.com/brettt89/silverstripe-docker/blob/631689ae1a11d900cb9b949884ed955a86bf0cf5/src/7.1/fpm/buster/Dockerfile)\n- [`7.1-cli-buster`, `7.1-cli`](https://github.com/brettt89/silverstripe-docker/blob/631689ae1a11d900cb9b949884ed955a86bf0cf5/src/7.1/cli/buster/Dockerfile)\n- [`7.1-apache-stretch`](https://github.com/brettt89/silverstripe-docker/blob/631689ae1a11d900cb9b949884ed955a86bf0cf5/src/7.1/apache/stretch/Dockerfile)\n- [`7.1-fpm-stretch`](https://github.com/brettt89/silverstripe-docker/blob/631689ae1a11d900cb9b949884ed955a86bf0cf5/src/7.1/fpm/stretch/Dockerfile)\n- [`7.1-cli-stretch`](https://github.com/brettt89/silverstripe-docker/blob/631689ae1a11d900cb9b949884ed955a86bf0cf5/src/7.1/cli/stretch/Dockerfile)\n- [`7.1-apache-jessie`](https://github.com/brettt89/silverstripe-docker/blob/631689ae1a11d900cb9b949884ed955a86bf0cf5/src/7.1/apache/jessie/Dockerfile)\n- [`7.1-fpm-jessie`](https://github.com/brettt89/silverstripe-docker/blob/631689ae1a11d900cb9b949884ed955a86bf0cf5/src/7.1/fpm/jessie/Dockerfile)\n- [`7.1-cli-jessie`](https://github.com/brettt89/silverstripe-docker/blob/631689ae1a11d900cb9b949884ed955a86bf0cf5/src/7.1/cli/jessie/Dockerfile)\n- [`7.1-fpm-alpine`](https://github.com/brettt89/silverstripe-docker/blob/631689ae1a11d900cb9b949884ed955a86bf0cf5/src/7.1/fpm/alpine/Dockerfile)\n- [`7.1-cli-alpine`](https://github.com/brettt89/silverstripe-docker/blob/631689ae1a11d900cb9b949884ed955a86bf0cf5/src/7.1/cli/alpine/Dockerfile)\n- [`5.6-apache-stretch`, `5.6-apache`, `5.6`](https://github.com/brettt89/silverstripe-docker/blob/631689ae1a11d900cb9b949884ed955a86bf0cf5/src/5.6/apache/stretch/Dockerfile)\n- [`5.6-fpm-stretch`, `5.6-fpm`](https://github.com/brettt89/silverstripe-docker/blob/631689ae1a11d900cb9b949884ed955a86bf0cf5/src/5.6/fpm/stretch/Dockerfile)\n- [`5.6-cli-stretch`, `5.6-cli`](https://github.com/brettt89/silverstripe-docker/blob/631689ae1a11d900cb9b949884ed955a86bf0cf5/src/5.6/cli/stretch/Dockerfile)\n- [`5.6-apache-jessie`](https://github.com/brettt89/silverstripe-docker/blob/631689ae1a11d900cb9b949884ed955a86bf0cf5/src/5.6/apache/jessie/Dockerfile)\n- [`5.6-fpm-jessie`](https://github.com/brettt89/silverstripe-docker/blob/631689ae1a11d900cb9b949884ed955a86bf0cf5/src/5.6/fpm/jessie/Dockerfile)\n- [`5.6-cli-jessie`](https://github.com/brettt89/silverstripe-docker/blob/631689ae1a11d900cb9b949884ed955a86bf0cf5/src/5.6/cli/jessie/Dockerfile)\n- [`5.6-fpm-alpine`](https://github.com/brettt89/silverstripe-docker/blob/631689ae1a11d900cb9b949884ed955a86bf0cf5/src/5.6/fpm/alpine/Dockerfile)\n- [`5.6-cli-alpine`](https://github.com/brettt89/silverstripe-docker/blob/631689ae1a11d900cb9b949884ed955a86bf0cf5/src/5.6/cli/alpine/Dockerfile)\n\n\n# What is Silverstripe CMS\n\nSilverstripe CMS is a free and open source Content Management System (CMS) and Framework for creating and maintaining websites and web applications. It provides an out of the box web-based administration panel that enables users to make modifications to parts of the website, which includes a WYSIWYG website editor. The core of the software is Silverstripe Framework, a PHP Web application framework.\n\nhttps://en.wikipedia.org/wiki/Silverstripe_CMS\n\n![Silverstripe CMS](docs/logo.png \"Logo Title Text 1\")\n\n# How to use this image\n\n### Basic usage\n\nRunning the `brettt89/silverstripe-web` image with Apache is as simple as\n\n```shell\n$ docker run -d \\\n  --volume $PWD:/app \\\n  brettt89/silverstripe-web:8.1-apache\n```\n\n### Create a Dockerfile in your PHP project\n\n```Dockerfile\nFROM brettt89/silverstripe-web:8.1-apache\nENV DOCUMENT_ROOT /usr/src/myapp\n\nCOPY . $DOCUMENT_ROOT\nWORKDIR $DOCUMENT_ROOT\n```\n\n### Create a `docker-compose.yml` in your PHP project\n\n```yaml\nversion: \"3.8\"\nservices:\n  silverstripe:\n    image: brettt89/silverstripe-web:8.1-apache\n    volumes:\n       - .:/var/www/html\n    depends_on:\n       - database\n    environment:\n       - DOCUMENT_ROOT=/var/www/html/public\n       - SS_TRUSTED_PROXY_IPS=*\n       - SS_ENVIRONMENT_TYPE=dev\n       - SS_DATABASE_SERVER=database\n       - SS_DATABASE_NAME=SS_mysite\n       - SS_DATABASE_USERNAME=root\n       - SS_DATABASE_PASSWORD=\n       - SS_DEFAULT_ADMIN_USERNAME=admin\n       - SS_DEFAULT_ADMIN_PASSWORD=password\n\n  database:\n    image: mysql:5.7\n    environment:\n       - MYSQL_ALLOW_EMPTY_PASSWORD=yes\n    volumes:\n       - db-data:/var/lib/mysql\nvolumes:\n     db-data:\n```\n\n# Environment Variables\n\nEnvironment variables can be used to assist with configuration of your container. Below lists the exiting Environment variables that can be used to customize your container.\n\n - `DOCUMENT_ROOT` - Apache's document root location. (For SilverStripe 4 installations, you will want to set this to your `/public` directory. E.g. `/var/www/html/public`)\n\n# How to install more PHP extensions\n\nMany extensions are already compiled into the image, so it's worth checking the output of `php -m` or `php -i` before going through the effort of compiling more.\n\nWe provide the helper scripts [`docker-php-extension-installer`](https://hub.docker.com/r/mlocati/php-extension-installer) to more easily install PHP extensions.\n\n```Dockerfile\nFROM brettt89/silverstripe-web:8.1-apache\nRUN install-php-extensions xdebug\n```\n\n### Default extensions\n\nThe following extensions are installed by default on top of the default PHP image.\n\n- `bcmath`\n- `mysqli`\n- `pdo`\n- `pdo_mysql`\n- `intl`\n- `ldap`\n- `gd`\n- `soap`\n- `tidy`\n- `xsl`\n- `zip`\n- `exif`\n- `gmp`\n\n# Image Variants\n\nThe `php` images come in many flavors, each designed for a specific use case.\n\nSome of these tags may have names like `bullseye` or `buster` in them. These are the suite code names for releases of [Debian](https://wiki.debian.org/DebianReleases) and indicate which release the image is based on. If your image needs to install any additional packages beyond what comes with the image, you'll likely want to specify one of these explicitly to minimize breakage when there are new releases of Debian.\n\n## `brettt89/silverstripe-web:\u003cversion\u003e-apache`\n\nThis image contains Debian's Apache httpd in conjunction with PHP (as mod_php) and uses mpm_prefork by default. See Basic Usage for examples on how to use.\n\n## `brettt89/silverstripe-web:\u003cversion\u003e-cli`\n\nThis variant contains the [PHP CLI](https://secure.php.net/manual/en/features.commandline.php) tool with default mods. If you need a web server, this is probably not the image you are looking for. It is designed to be used both as a throw away container (mount your source code and start the container to start your app), as well as a base from which to build other images.\n\nIt also is the only variant which contains the (not recommended) `php-cgi` binary, which is likely necessary for some things like [PPM](https://github.com/php-pm/php-pm).\n\nNote that *all* variants of `php` contain the PHP CLI (`/usr/local/bin/php`).\n\n## `brettt89/silverstripe-web:\u003cversion\u003e-fpm`\n\nThis variant contains PHP-FPM, which is a FastCGI implementation for PHP. See the PHP-FPM website for more information about PHP-FPM.\n\nIn order to use this image variant, some kind of reverse proxy (such as NGINX, Apache, or other tool which speaks the FastCGI protocol) will be required.\n\nSome potentially helpful resources:\n\n- [PHP-FPM.org](https://php-fpm.org/)\n- [simplified example by @md5](https://gist.github.com/md5/d9206eacb5a0ff5d6be0)\n- [very detailed article by Pascal Landau](https://www.pascallandau.com/blog/php-php-fpm-and-nginx-on-docker-in-windows-10/)\n- [Stack Overflow discussion](https://stackoverflow.com/q/29905953/433558)\n- [Apache httpd Wiki example](https://wiki.apache.org/httpd/PHPFPMWordpress)\n\n## `brettt89/silverstripe-web:\u003cversion\u003e-alpine`\n\nThis image is based on the popular [Alpine Linux project](https://alpinelinux.org), available in [the `alpine` official image](https://hub.docker.com/_/alpine). Alpine Linux is much smaller than most distribution base images (~5MB), and thus leads to much slimmer images in general.\n\nThis variant is useful when final image size being as small as possible is your primary concern. The main caveat to note is that it does use [musl libc](https://musl.libc.org) instead of [glibc and friends](https://www.etalabs.net/compare_libcs.html), so software will often run into issues depending on the depth of their libc requirements/assumptions. See [this Hacker News comment thread](https://news.ycombinator.com/item?id=10782897) for more discussion of the issues that might arise and some pro/con comparisons of using Alpine-based images.\n\nTo minimize image size, it's uncommon for additional related tools (such as `git` or `bash`) to be included in Alpine-based images. Using this image as a base, add the things you need in your own Dockerfile (see the [`alpine` image description](https://hub.docker.com/_/alpine/) for examples of how to install packages if you are unfamiliar).\n\n# License\n\nView [license information](http://php.net/license/) for the software contained in this image.\n\nAs with all Docker images, these likely also contain other software which may be under other licenses (such as Bash, etc from the base distribution, along with any direct or indirect dependencies of the primary software being contained).\n\nAs for any pre-built image usage, it is the image user's responsibility to ensure that any use of this image complies with any relevant licenses for all software contained within.\n\n### Issues\n\nIf you have any problems with or questions about this image, please contact us through a [GitHub issue](https://github.com/brettt89/silverstripe-web/issues). \n\n### Contributing\n\nYou are invited to contribute new features, fixes, or updates, large or small; we are always thrilled to receive pull requests, and do our best to process them as fast as we can.\n\nBefore you start to code, we recommend discussing your plans through a [GitHub issue](https://github.com/brettt89/silverstripe-web/issues), especially for more ambitious contributions. This gives other contributors a chance to point you in the right direction, give you feedback on your design, and help you find out if someone else is working on the same thing.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrettt89%2Fsilverstripe-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrettt89%2Fsilverstripe-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrettt89%2Fsilverstripe-docker/lists"}