Skip to content
This repository has been archived by the owner on Mar 6, 2021. It is now read-only.

Commit

Permalink
Merge pull request #10 from localheinz/fix/install
Browse files Browse the repository at this point in the history
Fix: Do not install localheinz/composer-normalize from checked-in composer.json
  • Loading branch information
localheinz authored May 24, 2019
2 parents ae8f471 + 7aecd25 commit d9ddb57
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 7 deletions.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.build/
.github/
vendor/
.editorconfig
.gitattributes
.gitignore
Expand Down
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/.build/ export-ignore
/.github/ export-ignore
/.editorconfig export-ignore
/.gitattributes export-ignore
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
/.build/
/vendor/
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

script:
- docker build --tag localheinz/composer-normalize-action .
- docker run --interactive --rm --tty --workdir=/normalizer --volume ${PWD}:/normalizer localheinz/composer-normalize-action:latest
- docker run --interactive --rm --tty --workdir=/normalizer --volume ${PWD}/.build:/normalizer localheinz/composer-normalize-action:latest

- stage: deploy

Expand Down
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@ COPY --from=composer:latest /usr/bin/composer /usr/local/bin/composer

ENV COMPOSER_ALLOW_SUPERUSER=1

COPY composer.* /root/.composer/

RUN composer global install
RUN composer global require localheinz/composer-normalize:1.1.4

ADD entrypoint.sh /entrypoint.sh

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ it: docker

docker:
docker build --tag localheinz/composer-normalize-action .
docker run --interactive --rm --tty --workdir=/normalizer --volume ${PWD}:/normalizer localheinz/composer-normalize-action:latest
docker run --interactive --rm --tty --workdir=/normalizer --volume ${PWD}/.build:/normalizer localheinz/composer-normalize-action:latest

0 comments on commit d9ddb57

Please sign in to comment.