File tree Expand file tree Collapse file tree 6 files changed +8
-7
lines changed
Compose/ProductionBuilder/Service Expand file tree Collapse file tree 6 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 13
13
use Magento \CloudDocker \Config \Config ;
14
14
use Magento \CloudDocker \Config \Environment \Converter ;
15
15
use Magento \CloudDocker \Service \ServiceFactory ;
16
+ use Magento \CloudDocker \Service \ServiceInterface ;
16
17
17
18
/**
18
19
* Returns Generic service configuration
@@ -72,7 +73,7 @@ public function getConfig(Config $config): array
72
73
{
73
74
return $ this ->serviceFactory ->create (
74
75
$ this ->getServiceName (),
75
- $ config ->getServiceVersion ($ this -> getServiceName () ),
76
+ $ config ->getServiceVersion (ServiceInterface:: SERVICE_PHP ),
76
77
[
77
78
'env_file ' => './.docker/config.env ' ,
78
79
'environment ' => $ this ->converter ->convert (
Original file line number Diff line number Diff line change @@ -109,9 +109,9 @@ class ServiceFactory
109
109
'pattern ' => self ::PATTERN_STD
110
110
],
111
111
ServiceInterface::SERVICE_GENERIC => [
112
- 'image ' => 'alpine ' ,
112
+ 'image ' => 'magento/magento-cloud-docker-php ' ,
113
113
'version ' => 'latest ' ,
114
- 'pattern ' => self :: PATTERN_STD
114
+ 'pattern ' => ' %s:%s-cli-%s '
115
115
],
116
116
ServiceInterface::SERVICE_SELENIUM => [
117
117
'image ' => 'selenium/standalone-chrome ' ,
Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ services:
119
119
condition : service_started
120
120
generic :
121
121
hostname : generic.magento2.docker
122
- image : ' alpine:latest '
122
+ image : ' magento/magento-cloud-docker-php:7.3-cli-1.1 '
123
123
env_file : ./.docker/config.env
124
124
environment :
125
125
- ' PHP_EXTENSIONS=bcmath bz2 calendar exif gd gettext intl mysqli pcntl pdo_mysql soap sockets sysvmsg sysvsem sysvshm opcache zip redis xsl sodium'
Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ services:
173
173
condition : service_started
174
174
generic :
175
175
hostname : generic.magento2.docker
176
- image : ' alpine:latest '
176
+ image : ' magento/magento-cloud-docker-php:7.3-cli-1.1 '
177
177
env_file : ./.docker/config.env
178
178
environment :
179
179
- ' PHP_EXTENSIONS=bcmath bz2 calendar exif gd gettext intl mysqli pcntl pdo_mysql soap sockets sysvmsg sysvsem sysvshm opcache zip redis xsl sodium'
Original file line number Diff line number Diff line change @@ -160,7 +160,7 @@ services:
160
160
condition : service_started
161
161
generic :
162
162
hostname : generic.magento2.docker
163
- image : ' alpine:latest '
163
+ image : ' magento/magento-cloud-docker-php:7.3-cli-1.1 '
164
164
env_file : ./.docker/config.env
165
165
environment :
166
166
- ' PHP_EXTENSIONS=bcmath bz2 calendar exif gd gettext intl mysqli pcntl pdo_mysql soap sockets sysvmsg sysvsem sysvshm opcache zip redis xsl sodium'
Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ services:
93
93
condition : service_started
94
94
generic :
95
95
hostname : generic.magento2.test
96
- image : ' alpine:latest '
96
+ image : ' magento/magento-cloud-docker-php:7.2-cli-1.1 '
97
97
env_file : ./.docker/config.env
98
98
environment :
99
99
- ' PHP_EXTENSIONS=bcmath bz2 calendar exif gd gettext intl mysqli pcntl pdo_mysql soap sockets sysvmsg sysvsem sysvshm opcache zip xsl'
You can’t perform that action at this time.
0 commit comments