Skip to content

Commit a37cd53

Browse files
committed
Docker - clear Composer cache
1 parent 196f970 commit a37cd53

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ ARG PHPSTAN_VERSION
1717

1818
RUN composer global require phpstan/phpstan:"$PHPSTAN_VERSION"
1919

20-
RUN rm -rf /composer/vendor/phpstan/phpstan/.git
20+
RUN rm -rf /composer/vendor/phpstan/phpstan/.git \
21+
&& composer clear-cache
2122

2223
VOLUME ["/app"]
2324
WORKDIR /app

0 commit comments

Comments
 (0)