mirror of
https://github.com/shlinkio/shlink.git
synced 2024-12-22 07:03:44 -06:00
Added prefer-dist flag to composer execution on docker build
This commit is contained in:
parent
217003381a
commit
3ffa46fb26
@ -35,7 +35,7 @@ RUN apk add --no-cache --virtual .phpize-deps ${PHPIZE_DEPS} && \
|
||||
COPY . .
|
||||
RUN rm -rf ./docker && \
|
||||
wget https://getcomposer.org/download/${COMPOSER_VERSION}/composer.phar && \
|
||||
php composer.phar install --no-dev --optimize-autoloader --no-progress --no-interaction && \
|
||||
php composer.phar install --no-dev --optimize-autoloader --prefer-dist --no-progress --no-interaction && \
|
||||
php composer.phar clear-cache && \
|
||||
rm composer.*
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user