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:
mike12345567 2024-04-22 11:50:08 +01:00
parent bff6340763
commit a18799a139
1 changed files with 2 additions and 4 deletions

View File

@ -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
}
}