Getting rid of previous check for docker-compose/docker compose as due to recent changes there is no alias for the docker compose command anymore to find.
This commit is contained in:
parent
bff6340763
commit
a18799a139
|
@ -54,11 +54,9 @@ export async function downloadDockerCompose() {
|
|||
|
||||
export async function checkDockerConfigured() {
|
||||
const error =
|
||||
"docker/docker-compose has not been installed, please follow instructions at: https://docs.budibase.com/docs/docker-compose"
|
||||
"docker has not been installed, please follow instructions at: https://docs.budibase.com/docs/docker-compose"
|
||||
const docker = await lookpath("docker")
|
||||
const compose = await lookpath("docker-compose")
|
||||
const composeV2 = await lookpath("docker compose")
|
||||
if (!docker || (!compose && !composeV2)) {
|
||||
if (!docker) {
|
||||
throw error
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue