Skip to content

Commit b7b9407

Browse files
committed
Update docker-compose version check
Signed-off-by: Riddhesh Sanghvi <[email protected]>
1 parent 8f9eda0 commit b7b9407

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

php/EE/Migration/Containers.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ public static function image_cleanup() {
123123
}
124124

125125
/**
126-
* Update docker-compose to v2.26.1 if lower version is installed.
126+
* Update docker-compose to v2.27.0 if lower version is installed.
127127
*/
128128
public static function update_docker_compose() {
129129

@@ -137,8 +137,8 @@ public static function update_docker_compose() {
137137
}
138138
$fs->copy( $docker_compose_path, $docker_compose_backup_path );
139139

140-
if ( version_compare( '2.26.1', $docker_compose_version, '>' ) ) {
141-
EE::exec( "curl -L https://github.com/docker/compose/releases/download/v2.26.1/docker-compose-$(uname -s)-$(uname -m) -o $docker_compose_path && chmod +x $docker_compose_path" );
140+
if ( version_compare( '2.27.0', $docker_compose_version, '>' ) ) {
141+
EE::exec( "curl -L https://github.com/docker/compose/releases/download/v2.27.0/docker-compose-$(uname -s)-$(uname -m) -o $docker_compose_path && chmod +x $docker_compose_path" );
142142
}
143143
}
144144

0 commit comments

Comments
 (0)