Skip to content

Commit 36585b0

Browse files
committed
Update Composer installation
1 parent e741e0d commit 36585b0

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,8 @@ RUN docker-php-ext-enable pdo_mysql
1717
RUN apt-get -y install --fix-missing zip unzip
1818

1919
# Composer
20-
RUN curl -sS https://getcomposer.org/installer | php
21-
RUN mv composer.phar /usr/local/bin/composer
22-
RUN chmod +x /usr/local/bin/composer
2320
RUN composer self-update
21+
COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
2422

2523
ADD conf/apache.conf /etc/apache2/sites-available/000-default.conf
2624

0 commit comments

Comments
 (0)