Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Docker
drupal
drush
Commits
5bbe0cdd
Verified
Commit
5bbe0cdd
authored
Apr 11, 2018
by
Christoph Böhner-Figas
Browse files
Update readme
parent
0dd0084a
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
5bbe0cdd
# 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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment