Skip to content
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

Use new CircleCI convenience image for PHP #177

Merged
merged 17 commits into from
Mar 11, 2022
Merged
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
build:
working_directory: ~/example
docker:
- image: circleci/php:7.4-node-browsers
- image: cimg/php:7.4-browsers
- image: circleci/mysql:5.7-ram
command: --max_allowed_packet=16M
environment:
Expand All @@ -24,14 +24,10 @@ jobs:
command: |
sudo apt-get update
sudo apt-get install -y libpng-dev default-mysql-client
byrond marked this conversation as resolved.
Show resolved Hide resolved
- run:
name: Install PHP extensions
command: sudo docker-php-ext-install pdo_mysql gd
- run:
name: Configure PHP
command: |
echo "sendmail_path=/bin/true" | sudo tee -a "/usr/local/etc/php/php.ini"
echo "memory_limit=-1" | sudo tee -a "/usr/local/etc/php/php.ini"
echo "sendmail_path=/bin/true" | sudo tee -a "/etc/php.d/circleci.ini"
- run:
name: Create artifacts directory
command: mkdir /tmp/artifacts
Expand Down