Browse Source

Merge pull request #3474 from buihanh2304/update-workspace.add-composer-2.2-support

Add composer self-update 2.2 support
Shao Yu-Lung (Allen) 1 year ago
parent
commit
9e5e05a11d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      workspace/Dockerfile

+ 1 - 1
workspace/Dockerfile

@@ -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}; \