Skip to content

Commit 446d0c0

Browse files
committed
evitar instalar composer novamente
1 parent 97e1bb0 commit 446d0c0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,14 +59,14 @@ RUN mkdir -p /opt/oci8 \
5959
RUN pecl install redis \
6060
&& echo "extension=redis.so" >> /usr/local/etc/php/conf.d/redis.ini
6161

62+
# Install Composer
63+
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin/ --filename=composer
64+
6265
# Install XDebug
6366
RUN cd /tmp && wget http://xdebug.org/files/xdebug-2.5.4.tgz && tar -xvzf xdebug-2.5.4.tgz && cd xdebug-2.5.4 \
6467
&& phpize && ./configure && make && cp modules/xdebug.so /usr/local/lib/php/extensions/no-debug-non-zts-20160303 \
6568
&& rm -rf /tmp/xdebug-2.5.4.* /tmp/xdebug-2.5.4/
6669

67-
# Install Composer
68-
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin/ --filename=composer
69-
7070
# Run composer install
7171
CMD /usr/bin/apache-run
7272

0 commit comments

Comments
 (0)