Verified Commit 5bbe0cdd authored by Christoph Böhner-Figas's avatar Christoph Böhner-Figas
Browse files

Update readme

parent 0dd0084a
# Supported tags and respective Dockerfile links
* `8.1`: [Dockerfile](8.1/Dockerfile)
* `latest`: see `8.1`
# Quick reference
The images are inspired by the recommended drupal drush images from docker hub. See [docker hub](https://hub.docker.com/r/drush/drush/)
for the official details.
The image provides the following advantages over existing solutions:
* Installed additional packages: gettext pipenv
* Workdir set to /app/web, following our convention to mount the project as /app
* Additional script python-install-requirements.sh: Helper script to install packages inside your
own Dockerfile using a requirements.txt. Usage: `python-install-requirements.sh <path-to-requirements>`
* Additional script python-install-pipfile.sh: Helper script to install packages inside your
own Dockerfile using a Pipfile. Usage: `python-install-pipfile.sh <pipfile-path>`
## Example usage (Django project)
```yaml
version: '3'
services:
drush:
build:
context: docker/drush
working_dir: "/app/web"
volumes:
- db:/var/lib/mysql/:delegated
- ../:/app:cached
links:
- db
```
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment