We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e741e0d + 8effc9e commit dcecc84Copy full SHA for dcecc84
1 file changed
Dockerfile
@@ -15,12 +15,11 @@ RUN docker-php-ext-enable mysqli
15
RUN docker-php-ext-enable pdo
16
RUN docker-php-ext-enable pdo_mysql
17
RUN apt-get -y install --fix-missing zip unzip
18
+RUN apt-get -y install --fix-missing git
19
20
# Composer
-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
23
-RUN composer self-update
+COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
+RUN composer self-update --2
24
25
ADD conf/apache.conf /etc/apache2/sites-available/000-default.conf
26
0 commit comments