Fix bug spaces in path keycloak-start
This commit is contained in:
parent
2a6b79e097
commit
d084a4bf4a
@ -286,11 +286,11 @@ export async function command(params: { cliCommandOptions: CliCommandOptions })
|
|||||||
? []
|
? []
|
||||||
: [
|
: [
|
||||||
"-v",
|
"-v",
|
||||||
`${realmJsonFilePath}:/opt/keycloak/data/import/myrealm-realm.json`
|
`"${realmJsonFilePath}":/opt/keycloak/data/import/myrealm-realm.json`
|
||||||
]),
|
]),
|
||||||
...[
|
...[
|
||||||
"-v",
|
"-v",
|
||||||
`${jarFilePath_cacheDir}:/opt/keycloak/providers/keycloak-theme.jar`
|
`"${jarFilePath_cacheDir}":/opt/keycloak/providers/keycloak-theme.jar`
|
||||||
],
|
],
|
||||||
...(keycloakMajorVersionNumber <= 20
|
...(keycloakMajorVersionNumber <= 20
|
||||||
? ["-e", "JAVA_OPTS=-Dkeycloak.profile=preview"]
|
? ["-e", "JAVA_OPTS=-Dkeycloak.profile=preview"]
|
||||||
@ -317,7 +317,7 @@ export async function command(params: { cliCommandOptions: CliCommandOptions })
|
|||||||
}))
|
}))
|
||||||
.map(({ localDirPath, containerDirPath }) => [
|
.map(({ localDirPath, containerDirPath }) => [
|
||||||
"-v",
|
"-v",
|
||||||
`${localDirPath}:${containerDirPath}:rw`
|
`"${localDirPath}":${containerDirPath}:rw`
|
||||||
])
|
])
|
||||||
.flat(),
|
.flat(),
|
||||||
...buildContext.environmentVariables
|
...buildContext.environmentVariables
|
||||||
|
Loading…
x
Reference in New Issue
Block a user