Skip to content

Commit

Permalink
Merge pull request #2093 from ballerina-platform/TharmiganK-patch-1
Browse files Browse the repository at this point in the history
Update docker command to docker compose v2
  • Loading branch information
TharmiganK committed Aug 2, 2024
2 parents 8c4e8b4 + b77cd39 commit 2e15914
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion ballerina-tests/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ task startLdapServer() {
if (!stdOut.toString().contains("openldap-server")) {
println "Starting LDAP server."
exec {
commandLine 'sh', '-c', "docker-compose -f $project.projectDir/resources/openldap/docker-compose.yml up -d"
commandLine 'sh', '-c', "docker compose -f $project.projectDir/resources/openldap/compose.yml up -d"
standardOutput = stdOut
}
println stdOut.toString()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: '3.7'
services:
ldap_server:
image: osixia/openldap:1.3.0
Expand Down

0 comments on commit 2e15914

Please sign in to comment.