Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 35247a0

Browse files
committed
chore: docker test move composer version
1 parent b224af5 commit 35247a0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎Dockerfile‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
ARG PHP_VERSION=8.1
22
ARG COMPOSER_VERSION=2.5.4
33

4-
FROM composer:${COMPOSER_VERSION}
54
FROM php:${PHP_VERSION}-cli
65

76
RUN apt-get update && \
@@ -10,7 +9,7 @@ RUN apt-get update && \
109
pecl install xdebug && docker-php-ext-enable xdebug && \
1110
docker-php-ext-install -j$(nproc) pdo_mysql zip
1211

13-
COPY --from=composer /usr/bin/composer /usr/local/bin/composer
12+
COPY --from=composer:${COMPOSER_VERSION} /usr/bin/composer /usr/local/bin/composer
1413

1514
WORKDIR /code
1615

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /