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

Commit d9ddb57

Browse files
authored
Merge pull request #10 from localheinz/fix/install
Fix: Do not install localheinz/composer-normalize from checked-in composer.json
2 parents ae8f471 + 7aecd25 commit d9ddb57

File tree

8 files changed

+5
-7
lines changed

8 files changed

+5
-7
lines changed
File renamed without changes.
File renamed without changes.

.dockerignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1+
.build/
12
.github/
2-
vendor/
33
.editorconfig
44
.gitattributes
55
.gitignore

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/.build/ export-ignore
12
/.github/ export-ignore
23
/.editorconfig export-ignore
34
/.gitattributes export-ignore

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
/.build/
21
/vendor/

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424

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

2929
- stage: deploy
3030

Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@ COPY --from=composer:latest /usr/bin/composer /usr/local/bin/composer
1313

1414
ENV COMPOSER_ALLOW_SUPERUSER=1
1515

16-
COPY composer.* /root/.composer/
17-
18-
RUN composer global install
16+
RUN composer global require localheinz/composer-normalize:1.1.4
1917

2018
ADD entrypoint.sh /entrypoint.sh
2119

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ it: docker
44

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

0 commit comments

Comments
 (0)