add file for user docker and make

This commit is contained in:
macintoshplus
2015-08-07 13:16:30 +02:00
parent e90348af90
commit 2adca11e24
2 changed files with 16 additions and 0 deletions

12
Makefile Normal file
View File

@@ -0,0 +1,12 @@
tool=docker-compose run --rm tools
pull:
@docker-compose pull
install:
@$(tool) bash -ci '/fixright && sudo -E -u phpuser composer install'
prepare-update:
@$(tool) bash -ci '/fixright && sudo -E -u phpuser composer update --dry-run'

4
docker-compose.yml Normal file
View File

@@ -0,0 +1,4 @@
tools:
image: macintoshplus/composer:latest
volumes:
- .:/src