-
Notifications
You must be signed in to change notification settings - Fork 441
Fix: Fixing CI #1382
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+77
−117
Merged
Fix: Fixing CI #1382
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
f5ea514
Fixing CI
JimTools be50d68
Updating action versions to latest
JimTools 7482b26
Updting lowest dep
JimTools d4d3896
bump lowest doctrine-bundle version
JimTools 64f3d47
fix: raising minimum stability
JimTools e49cb21
fix: removing memory limit for unit tests
JimTools 17d4ce3
fix: updating symfony versions
JimTools 1bf5b7d
fix: cleaner logs
JimTools File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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,76 +1,39 @@ | ||
ARG PHP_VERSION=8.2 | ||
FROM makasim/nginx-php-fpm:${PHP_VERSION}-all-exts | ||
FROM php:${PHP_VERSION}-alpine | ||
|
||
ARG PHP_VERSION | ||
|
||
## libs | ||
RUN set -x && \ | ||
apt-get update && \ | ||
apt-get install -y --no-install-recommends --no-install-suggests \ | ||
wget \ | ||
curl \ | ||
openssl \ | ||
ca-certificates \ | ||
nano \ | ||
netcat \ | ||
php${PHP_VERSION}-dev \ | ||
php${PHP_VERSION}-redis \ | ||
php${PHP_VERSION}-pgsql \ | ||
git \ | ||
python \ | ||
php${PHP_VERSION}-amqp \ | ||
php${PHP_VERSION}-xml \ | ||
php${PHP_VERSION}-mysql \ | ||
php${PHP_VERSION}-curl \ | ||
php${PHP_VERSION}-mongodb \ | ||
php${PHP_VERSION}-mbstring \ | ||
make \ | ||
g++ \ | ||
unzip \ | ||
&& \ | ||
update-alternatives --install /usr/bin/php php /usr/bin/php${PHP_VERSION} 100 | ||
|
||
## gearman | ||
RUN set -x && \ | ||
apt-get install -y --no-install-recommends --no-install-suggests \ | ||
libgearman-dev \ | ||
&& \ | ||
mkdir -p $HOME/gearman && \ | ||
cd $HOME/gearman && \ | ||
git clone https://github.com/php/pecl-networking-gearman.git . && \ | ||
git checkout gearman-2.1.0 && \ | ||
phpize && ./configure && make && make install && \ | ||
if [ ! -f /etc/php/${PHP_VERSION}/cli/conf.d/20-gearman.ini ]; then \ | ||
echo "extension=gearman.so" > /etc/php/${PHP_VERSION}/cli/conf.d/20-gearman.ini && \ | ||
echo "extension=gearman.so" > /etc/php/${PHP_VERSION}/fpm/conf.d/20-gearman.ini \ | ||
; \ | ||
fi; | ||
|
||
## librdkafka | ||
RUN set -x && \ | ||
mkdir -p $HOME/librdkafka && \ | ||
cd $HOME/librdkafka && \ | ||
git clone https://github.com/edenhill/librdkafka.git . && \ | ||
git checkout v1.0.0 && \ | ||
./configure && make && make install | ||
|
||
## php-rdkafka | ||
RUN set -x && \ | ||
mkdir -p $HOME/php-rdkafka && \ | ||
cd $HOME/php-rdkafka && \ | ||
git clone https://github.com/arnaud-lb/php-rdkafka.git . && \ | ||
git checkout 5.0.1 && \ | ||
phpize && ./configure && make all && make install && \ | ||
echo "extension=rdkafka.so" > /etc/php/${PHP_VERSION}/cli/conf.d/10-rdkafka.ini && \ | ||
echo "extension=rdkafka.so" > /etc/php/${PHP_VERSION}/fpm/conf.d/10-rdkafka.ini | ||
|
||
COPY ./php/cli.ini /etc/php/${PHP_VERSION}/cli/conf.d/1-dev_cli.ini | ||
RUN --mount=type=cache,target=/var/cache/apk apk add --no-cache $PHPIZE_DEPS \ | ||
libpq-dev \ | ||
librdkafka-dev \ | ||
rabbitmq-c-dev \ | ||
linux-headers && \ | ||
apk add --no-cache --repository=https://dl-cdn.alpinelinux.org/alpine/edge/testing \ | ||
gearman-dev | ||
|
||
# Install First Party Modules | ||
RUN docker-php-ext-install -j$(nproc) \ | ||
pcntl \ | ||
pdo_mysql \ | ||
pdo_pgsql | ||
|
||
# Install Third Party Modules | ||
RUN --mount=type=cache,target=/tmp/pear pecl install redis \ | ||
mongodb-1.21.0 \ | ||
gearman \ | ||
rdkafka \ | ||
xdebug && \ | ||
pecl install --configureoptions 'with-librabbitmq-dir="autodetect"' amqp | ||
RUN docker-php-ext-enable redis mongodb gearman rdkafka xdebug amqp | ||
|
||
COPY ./php/cli.ini /usr/local/etc/php/conf.d/.user.ini | ||
COPY ./bin/dev_entrypoiny.sh /usr/local/bin/entrypoint.sh | ||
RUN mv /usr/local/etc/php/php.ini-development /usr/local/etc/php/php.ini | ||
RUN chmod u+x /usr/local/bin/entrypoint.sh | ||
|
||
RUN mkdir -p /mqdev | ||
WORKDIR /mqdev | ||
|
||
COPY --from=composer:2 /usr/bin/composer /usr/bin/composer | ||
|
||
CMD /usr/local/bin/entrypoint.sh | ||
CMD ["/usr/local/bin/entrypoint.sh"] |
This file contains hidden or 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,3 +1,3 @@ | ||
#!/usr/bin/env bash | ||
#!/usr/bin/env sh | ||
|
||
while true; do sleep 1; done |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.