-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #22 from wandersonwhcr/feature/docker
Use Docker
- Loading branch information
Showing
8 changed files
with
39 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
/.gitattributes export-ignore | ||
/.gitignore export-ignore | ||
/.travis.yml export-ignore | ||
/docker-compose export-ignore | ||
/docker-compose.yml export-ignore | ||
/phpcs.xml.dist export-ignore | ||
/phpmd.xml export-ignore | ||
/phpunit.xml.dist export-ignore | ||
/puppet export-ignore | ||
/test export-ignore | ||
/Vagrantfile export-ignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
/.vagrant | ||
/vendor |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
version: "3.8" | ||
|
||
services: | ||
|
||
romans: | ||
build: "./docker-compose" | ||
volumes: | ||
- ".:/app" | ||
user: "${UID:-1000}:${GID:-1000}" | ||
command: ["tail", "-f", "/dev/null"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
FROM php:7.2-cli-alpine | ||
|
||
ENV COMPOSER_CACHE_DIR /tmp | ||
|
||
COPY --from=composer:2.0 /usr/bin/composer /usr/bin/composer | ||
|
||
RUN find /usr/src -type f -name 'php.tar*' -delete \ | ||
&& apk add unzip | ||
|
||
VOLUME /app | ||
|
||
WORKDIR /app |
This file was deleted.
Oops, something went wrong.