Skip to content

Commit 7948de0

Browse files
author
Greg Bowler
authored
Merge pull request #2 from szepeviktor/patch-3
Use Composer-style constrain
2 parents f77d252 + 3da6fd6 commit 7948de0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ LABEL repository="https://github.com/php-actions/phpstan"
55
LABEL homepage="https://github.com/php-actions/phpstan"
66
LABEL maintainer="Greg Bowler <greg.bowler@g105b.com>"
77

8-
RUN composer global require --no-progress phpstan/phpstan 0.12.*
8+
RUN composer global require --no-progress "phpstan/phpstan:^0.12.0"
99
RUN ln -s /tmp/vendor/bin/phpstan /usr/local/bin/phpstan
10+
1011
COPY entrypoint /usr/local/bin/entrypoint
11-
ENTRYPOINT ["/usr/local/bin/entrypoint"]
12+
ENTRYPOINT ["/usr/local/bin/entrypoint"]

0 commit comments

Comments
 (0)