Skip to content

Commit 48afb00

Browse files
committed
Allow space characters in WDT file names for models, variables, and archives
1 parent 58ec6be commit 48afb00

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

imagetool/src/main/resources/docker-files/aux-image.mustache

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,15 @@ ENV AUXILIARY_IMAGE_PATH={{{wdt_home}}} \
5454
{{/hasWdtFiles}}
5555

5656
{{#wdtModels}}
57-
COPY --chown={{userid}}:{{groupid}} {{{.}}} {{{wdt_model_home}}}/
57+
COPY --chown={{userid}}:{{groupid}} ["{{{.}}}", "{{{wdt_model_home}}}/"]
5858
{{/wdtModels}}
5959

6060
{{#wdtArchives}}
61-
COPY --chown={{userid}}:{{groupid}} {{{.}}} {{{wdt_model_home}}}/
61+
COPY --chown={{userid}}:{{groupid}} ["{{{.}}}", "{{{wdt_model_home}}}/"]
6262
{{/wdtArchives}}
6363

6464
{{#wdtVariables}}
65-
COPY --chown={{userid}}:{{groupid}} {{{.}}} {{{wdt_model_home}}}/
65+
COPY --chown={{userid}}:{{groupid}} ["{{{.}}}", "{{{wdt_model_home}}}/"]
6666
{{/wdtVariables}}
6767

6868
{{#hasWdtFiles}}

imagetool/src/main/resources/docker-files/run-wdt.mustache

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@ RUN cd {{{wdt_home}}} \
2525
&& mkdir -p $(dirname {{{domain_home}}})
2626

2727
{{#wdtModels}}
28-
COPY --chown={{userid}}:{{groupid}} {{{.}}} {{{wdt_model_home}}}/
28+
COPY --chown={{userid}}:{{groupid}} ["{{{.}}}", "{{{wdt_model_home}}}/"]
2929
{{/wdtModels}}
3030

3131
{{#wdtArchives}}
32-
COPY --chown={{userid}}:{{groupid}} {{{.}}} {{{wdt_model_home}}}/
32+
COPY --chown={{userid}}:{{groupid}} ["{{{.}}}", "{{{wdt_model_home}}}/"]
3333
{{/wdtArchives}}
3434

3535
{{#wdtVariables}}
36-
COPY --chown={{userid}}:{{groupid}} {{{.}}} {{{wdt_model_home}}}/
36+
COPY --chown={{userid}}:{{groupid}} ["{{{.}}}", "{{{wdt_model_home}}}/"]
3737
{{/wdtVariables}}
3838

3939
RUN test -d {{{wdt_home}}}/weblogic-deploy && rm -rf {{{wdt_home}}}/weblogic-deploy || echo Initial WDT install \

0 commit comments

Comments
 (0)