Skip to content

Commit 603ef59

Browse files
committed
Single layer
1 parent a37cd53 commit 603ef59

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,8 @@ RUN echo "memory_limit=-1" > $PHP_CONF_DIR/99_memory-limit.ini \
1515

1616
ARG PHPSTAN_VERSION
1717

18-
RUN composer global require phpstan/phpstan:"$PHPSTAN_VERSION"
19-
20-
RUN rm -rf /composer/vendor/phpstan/phpstan/.git \
18+
RUN composer global require phpstan/phpstan:"$PHPSTAN_VERSION" \
19+
&& rm -rf /composer/vendor/phpstan/phpstan/.git \
2120
&& composer clear-cache
2221

2322
VOLUME ["/app"]

0 commit comments

Comments
 (0)