Skip to content

Latest commit

 

History

History
76 lines (43 loc) · 3.37 KB

README.md

File metadata and controls

76 lines (43 loc) · 3.37 KB

Supported tags and respective Dockerfile links

Travis CI: Build Status

How to use this image.

Requirements

Builds

Versions

Each build is prefixed with a version (e.g. 5.6 / 7.1). This denotes the PHP version this build is built from.

Build names

There are 2 builds currently available, alpine and platform. These builds are almost identical except the alpine release does not include the Build Tools listed below.

Environment Info

This image comes pre-packaged with a the default php extensions and configurations found on SilverStripe Platform. It also comes with some tooling pre-installed for ease-of-use.

Build Tools

Running with Docker

This image can also be run directly with docker. However it will need to be linked with a database in order for SilverStripe to successfully build.

docker run -p 3306:3306 --name database mysql
docker run -p 80:80 -v /path/to/project:/var/www/html --link database --name project1 brettt89/silverstripe-web

NOTE: You will require an _ss_environment.php file to tell the environment which database to connect to. An example one has been provided in ./example folder example

You should then be able to access run a dev buid via http://localhost/dev/build.

License

View license information for the software contained in this image.

Supported Docker versions

This image is officially supported on Docker version 17.04.0-ce.

Support for older versions (down to 1.6) is provided on a best-effort basis.

Please see the Docker installation documentation for details on how to upgrade your Docker daemon.

User Feedback

Issues

If you have any problems with or questions about this image, please contact us through a GitHub issue.

Contributing

You 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.

Before you start to code, we recommend discussing your plans through a GitHub issue, 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.

Credits