Merge pull request #3474 from buihanh2304/update-workspace.add-composer-2.2-support
Add composer self-update 2.2 support
This commit is contained in:
@@ -142,7 +142,7 @@ RUN echo "" >> ~/.bashrc && \
|
||||
ARG COMPOSER_VERSION=2
|
||||
ENV COMPOSER_VERSION ${COMPOSER_VERSION}
|
||||
RUN set -eux; \
|
||||
if [ "$COMPOSER_VERSION" = "1" ] || [ "$COMPOSER_VERSION" = "2" ]; then \
|
||||
if [ "$COMPOSER_VERSION" = "1" ] || [ "$COMPOSER_VERSION" = "2" ] || [ "$COMPOSER_VERSION" = "2.2" ]; then \
|
||||
composer self-update --${COMPOSER_VERSION}; \
|
||||
else \
|
||||
composer self-update ${COMPOSER_VERSION}; \
|
||||
|
||||
Reference in New Issue
Block a user