Compare commits

...

2 Commits

Author SHA1 Message Date
Joseph Garrone
e84e7fab86 Release candidate 2024-10-17 15:58:15 +02:00
Joseph Garrone
a2c2e37378 #694 2024-10-17 15:57:52 +02:00
2 changed files with 9 additions and 5 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "keycloakify", "name": "keycloakify",
"version": "11.3.6", "version": "11.3.7-rc.0",
"description": "Framework to create custom Keycloak UIs", "description": "Framework to create custom Keycloak UIs",
"repository": { "repository": {
"type": "git", "type": "git",

View File

@ -396,12 +396,12 @@ export async function command(params: {
...(realmJsonFilePath === undefined ...(realmJsonFilePath === undefined
? [] ? []
: [ : [
`-v${SPACE_PLACEHOLDER}".${pathSep}${pathRelative(process.cwd(), realmJsonFilePath)}":/opt/keycloak/data/import/myrealm-realm.json` `-v${SPACE_PLACEHOLDER}"${realmJsonFilePath}":/opt/keycloak/data/import/myrealm-realm.json`
]), ]),
`-v${SPACE_PLACEHOLDER}".${pathSep}${pathRelative(process.cwd(), jarFilePath_cacheDir)}":/opt/keycloak/providers/keycloak-theme.jar`, `-v${SPACE_PLACEHOLDER}"${jarFilePath_cacheDir}":/opt/keycloak/providers/keycloak-theme.jar`,
...extensionJarFilePaths.map( ...extensionJarFilePaths.map(
jarFilePath => jarFilePath =>
`-v${SPACE_PLACEHOLDER}".${pathSep}${pathRelative(process.cwd(), jarFilePath)}":/opt/keycloak/providers/${pathBasename(jarFilePath)}` `-v${SPACE_PLACEHOLDER}"${jarFilePath}":/opt/keycloak/providers/${pathBasename(jarFilePath)}`
), ),
...(keycloakMajorVersionNumber <= 20 ...(keycloakMajorVersionNumber <= 20
? [`-e${SPACE_PLACEHOLDER}JAVA_OPTS=-Dkeycloak.profile=preview`] ? [`-e${SPACE_PLACEHOLDER}JAVA_OPTS=-Dkeycloak.profile=preview`]
@ -424,7 +424,7 @@ export async function command(params: {
})) }))
.map( .map(
({ localDirPath, containerDirPath }) => ({ localDirPath, containerDirPath }) =>
`-v${SPACE_PLACEHOLDER}".${pathSep}${pathRelative(process.cwd(), localDirPath)}":${containerDirPath}:rw` `-v${SPACE_PLACEHOLDER}"${localDirPath}":${containerDirPath}:rw`
), ),
...buildContext.environmentVariables ...buildContext.environmentVariables
.map(({ name }) => ({ name, envValue: process.env[name] })) .map(({ name }) => ({ name, envValue: process.env[name] }))
@ -451,6 +451,10 @@ export async function command(params: {
]) ])
]; ];
console.log("DEBUG issue #694");
console.log(JSON.stringify(dockerRunArgs, null, 2));
console.log( console.log(
chalk.blue( chalk.blue(
[ [