Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
sudo: required

services:
- docker

env:
matrix:
- DOCKERFILE="master"

before_script:
- docker version

script:
- docker build -t ${DOCKERFILE} ./${DOCKERFILE}

after_script:
- docker images
- docker ps -a
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,21 @@
DRUSH for Drupal
-----------------------

[![Build Status](https://travis-ci.org/drupal-docker/drush.svg?branch=master)](https://travis-ci.org/drupal-docker/drush)[![](https://badge.imagelayers.io/drupaldocker/drush:latest.svg)](https://imagelayers.io/?images=drupaldocker/drush:latest 'drupaldocker/drush')

# Quickstart:

````
docker run -dP --volume <path/to/drupal>:/var/www/html drupaldocker/drush
````

# Roadmap
- ~~Add master~~ (thank you @slashrsm)
- Create folders for major Drush versions, use drupaldocker/php:cli as parent image
- Add documentation

# Status
Proof of concept

# Contribution
Create a pull request and become project maintainer :)
8 changes: 8 additions & 0 deletions master/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
FROM drupaldocker/php:cli
MAINTAINER drupal-docker

ADD http://files.drush.org/drush.phar /usr/local/bin/drush
RUN php /usr/local/bin/drush core-status -y && chmod a+x /usr/local/bin/drush
RUN drush init -y

CMD ["drush", "core-cli"]