Skip to content

Commit

Permalink
fix 修复componser安装失效问题
Browse files Browse the repository at this point in the history
  • Loading branch information
nekoimi committed Mar 9, 2024
1 parent 44f7733 commit d10d1f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion 7.1/cli/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ COPY docker-entrypoint.d/00-supervisor-entrypoint.sh /docker-entrypoint.d/00-
COPY docker-entrypoint.d/00-php-entrypoint.sh /docker-entrypoint.d/00-php-entrypoint.sh

# install composer
COPY --from=composer/composer:2.3.10 /composer /usr/local/bin/composer
COPY --from=composer/composer:2.3.10 /usr/bin/composer /usr/local/bin/composer
RUN chmod +x /usr/local/bin/composer && composer -V

RUN set -x \
Expand Down
2 changes: 1 addition & 1 deletion 7.1/fpm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ COPY supervisor.d /etc/supervisor.d
COPY index.php /workspace/public/index.php

# install composer
COPY --from=composer/composer:2.3.10 /composer /usr/local/bin/composer
COPY --from=composer/composer:2.3.10 /usr/bin/composer /usr/local/bin/composer
RUN chmod +x /usr/local/bin/composer && composer -V

RUN set -x \
Expand Down

0 comments on commit d10d1f3

Please sign in to comment.