Skip to content

Commit be942ba

Browse files
Merge pull request #1303 from mrrobot47/add/php5.6-support
Add support for PHP 5.6
2 parents 3587dd1 + 6891a70 commit be942ba

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

img-versions.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"easyengine/nginx-proxy": "v4.0.0",
66
"easyengine/nginx": "v4.0.0",
77
"easyengine/php": "v4.0.0",
8+
"easyengine/php5.6": "v4.0.0",
89
"easyengine/postfix": "v4.0.0",
910
"easyengine/redis": "v4.0.0"
1011
}

migrations/db/20181016052850_easyengine_insert_docker_images_version.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ public function up() {
3232

3333
$query = '';
3434
foreach ( $images as $image => $tag ) {
35+
if ( 'easyengine/php5.6' === $image ) {
36+
continue;
37+
}
3538
EE::log( "Checking and Pulling docker image $image:$tag" );
3639
if ( ! \EE::exec( "docker pull ${image}:${tag}", true, true ) ) {
3740
throw new \Exception( "Unable to pull ${image}:${tag}. Please check logs for more details." );

php/EE/Migration/Containers.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ public static function start_container_migration() {
2828
$updated_images = [];
2929

3030
foreach ( $img_versions as $img => $version ) {
31+
if ( 'easyengine/php5.6' === $img ) {
32+
continue;
33+
}
3134
if ( $current_versions[ $img ] !== $version ) {
3235
$updated_images[] = $img;
3336
self::pull_or_error( $img, $version );

0 commit comments

Comments
 (0)