File tree Expand file tree Collapse file tree 4 files changed +42
-0
lines changed Expand file tree Collapse file tree 4 files changed +42
-0
lines changed Original file line number Diff line number Diff line change 1+ vendor
2+ .idea
3+ .dockerignore
4+ .git *
5+ .travis.yml
6+ composer.lock
7+ docker-compose.yml
8+ Dockerfile
Original file line number Diff line number Diff line change 1+ FROM composer
2+
3+ FROM php:5.4-cli
4+
5+ RUN apt-get update && \
6+ apt-get install -y \
7+ git \
8+ unzip
9+
10+ RUN docker-php-ext-install mbstring
11+
12+ COPY --from=composer /usr/bin/composer /usr/bin/composer
13+
14+ RUN composer global require hirak/prestissimo
15+
16+ WORKDIR /app
17+
18+ COPY composer.json .
19+
20+ RUN composer install --prefer-dist --no-interaction --no-ansi
21+
22+ COPY . .
Original file line number Diff line number Diff line change 1+ docker_build = (docker-compose build)
2+
3+ build :
4+ $(call docker_build)
5+
6+ test :
7+ $(call docker_build) && docker-compose run app composer run-script test
Original file line number Diff line number Diff line change 1+ version : ' 3'
2+
3+ services :
4+ app :
5+ build : .
You can’t perform that action at this time.
0 commit comments