-
Notifications
You must be signed in to change notification settings - Fork 106
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#122 added works to tests and fix invalid suffix
- Loading branch information
Showing
4 changed files
with
46 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,15 @@ | ||
FROM php:7.4-cli | ||
RUN apt-get update && apt-get install --yes --no-install-recommends libzip-dev libbz2-dev liblzma-dev p7zip-full git wget | ||
RUN pecl install xdebug-3.1.5 | ||
RUN docker-php-source extract \ | ||
&& git clone https://github.com/cataphract/php-rar.git && cd php-rar && phpize && ./configure \ | ||
&& make && make install && cd ../ && rm -rf php-rar \ | ||
&& git clone https://github.com/codemasher/php-ext-xz.git && cd php-ext-xz && phpize && ./configure \ | ||
&& make && make install && cd ../ && rm -rf php-ext-xz \ | ||
&& docker-php-source delete | ||
RUN docker-php-ext-install bz2 zip && docker-php-ext-enable rar xz xdebug | ||
|
||
RUN echo "xdebug.mode = debug" >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini | ||
RUN apt-get update && apt-get install --yes --no-install-recommends git wget | ||
#RUN apt-get update && apt-get install --yes --no-install-recommends libzip-dev libbz2-dev liblzma-dev p7zip-full git wget | ||
#RUN pecl install xdebug-3.1.5 | ||
#RUN docker-php-source extract \ | ||
# && git clone https://github.com/cataphract/php-rar.git && cd php-rar && phpize && ./configure \ | ||
# && make && make install && cd ../ && rm -rf php-rar \ | ||
# && git clone https://github.com/codemasher/php-ext-xz.git && cd php-ext-xz && phpize && ./configure \ | ||
# && make && make install && cd ../ && rm -rf php-ext-xz \ | ||
# && docker-php-source delete | ||
#RUN docker-php-ext-install bz2 zip && docker-php-ext-enable rar xz xdebug | ||
# | ||
#RUN echo "xdebug.mode = debug" >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini | ||
|
||
RUN wget https://raw.githubusercontent.com/composer/getcomposer.org/76a7060ccb93902cd7576b67264ad91c8a2700e2/web/installer -O - -q | php -- --quiet --install-dir=/usr/local/bin --filename=composer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters