Skip to content

Commit

Permalink
Update base docker image (#27)
Browse files Browse the repository at this point in the history
* Update base docker image

* Fix mysql health check

---------

Co-authored-by: Ronald Marfoldi <[email protected]>
  • Loading branch information
stankolubomir and marforon authored Apr 14, 2023
1 parent 85c1494 commit 0e9bedc
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ jobs:
matrix:
include:
- php-version: 8.1
docker-image: 'anzusystems/php:1.0.0-php81-cli'
docker-image: 'anzusystems/php:1.1.0-php81-cli'
- php-version: 8.2
docker-image: 'anzusystems/php:1.0.0-php82-cli'
docker-image: 'anzusystems/php:1.1.0-php82-cli'

services:
mysql:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM anzusystems/php:1.0.0-php82-cli
FROM anzusystems/php:1.1.0-php82-cli
#
### Basic arguments and variables
ARG DOCKER_USER_ID
Expand Down
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"ext-zend-opcache": "*",
"anzusystems/contracts": "^2.2",
"anzusystems/serializer-bundle": "^2.0",
"doctrine/dbal": ">=3.0",
"doctrine/orm": ">=2.10",
"mongodb/mongodb": "^1.9",
"monolog/monolog": "^2.7",
Expand Down
1 change: 0 additions & 1 deletion tests/Controller/HealthCheckControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ public function testHealthCheck(): void

self::assertContains('opcache', $moduleResultsKeys);
self::assertContains('forwardIp', $moduleResultsKeys);
self::assertContains('mysql', $moduleResultsKeys);
self::assertContains('redis', $moduleResultsKeys);
self::assertContains('dataMount', $moduleResultsKeys);
self::assertContains('mongo', $moduleResultsKeys);
Expand Down
1 change: 0 additions & 1 deletion tests/config/packages/anzu_systems_common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ anzu_systems_common:
modules:
- AnzuSystems\CommonBundle\HealthCheck\Module\OpCacheModule
- AnzuSystems\CommonBundle\HealthCheck\Module\ForwardIpModule
- AnzuSystems\CommonBundle\HealthCheck\Module\MysqlModule
- AnzuSystems\CommonBundle\HealthCheck\Module\RedisModule
- AnzuSystems\CommonBundle\HealthCheck\Module\DataMountModule
- AnzuSystems\CommonBundle\HealthCheck\Module\MongoModule
Expand Down

0 comments on commit 0e9bedc

Please sign in to comment.