Skip to content

Commit

Permalink
no build-deps installed, nothing to uninstall
Browse files Browse the repository at this point in the history
  • Loading branch information
alcohol committed Feb 10, 2020
1 parent 40502db commit 95d67bc
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,7 @@ RUN set -eux; \
openssh \
openssl \
zip \
unzip; \
runDeps="$( \
scanelf --needed --nobanner --format '%n#p' --recursive /usr/local/lib/php/extensions \
| tr ',' '\n' \
| sort -u \
| awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \
)"; \
apk add --virtual .phpext-rundeps $runDeps; \
apk del .build-deps
unzip

ENV COMPOSER_HOME /composer

Expand Down

0 comments on commit 95d67bc

Please sign in to comment.