-
Notifications
You must be signed in to change notification settings - Fork 665
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
199,700 additions
and
82 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
ARG VERSION | ||
FROM php:${VERSION} | ||
FROM php:${VERSION}-alpine | ||
|
||
ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/ | ||
|
||
RUN chmod +x /usr/local/bin/install-php-extensions && \ | ||
install-php-extensions pcntl uv-beta ffi pgsql intl gmp mbstring pdo_mysql xml dom iconv zip igbinary gd && \ | ||
rm /usr/local/bin/install-php-extensions | ||
install-php-extensions amqp apcu zmq ds event ev redis mongodb imagick pcntl uv-beta ffi pgsql intl gmp mbstring pdo_mysql xml dom iconv zip igbinary gd bcmath | ||
|
||
ADD php.ini /usr/local/etc/php/php.ini | ||
RUN echo 'zend_extension=opcache' > /usr/local/etc/php/php.ini |
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,15 +1,13 @@ | ||
#!/bin/bash | ||
#!/bin/bash -e | ||
|
||
VERSIONS="7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4" | ||
|
||
cd bin | ||
VERSIONS="8.0 8.1 8.2 8.3 8.4" | ||
|
||
for f in $VERSIONS; do | ||
docker build --build-arg VERSION=$f . -t psalm_test_$f & | ||
docker build --build-arg VERSION=$f . -f bin/Dockerfile -t psalm_test_$f & | ||
done | ||
|
||
wait | ||
|
||
for f in $VERSIONS; do | ||
|
||
docker run --rm -it -v $PWD:/app psalm_test_$f php /app/bin/gen_base_callmap.php | ||
done |
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.