Skip to content

Commit 4647b70

Browse files
authored
when reinstalling WDT with UPDATE, delete old version first (#256)
1 parent 6aa302d commit 4647b70

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

imagetool/src/main/resources/docker-files/Update_Image.mustache

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@
4242
{{{.}}}
4343
{{/beforeWdtCommand}}
4444

45-
RUN cd {{{wdt_home}}} \
45+
RUN rm -rf {{{wdt_home}}}/weblogic-deploy \
46+
&& cd {{{wdt_home}}} \
4647
&& jar xf {{{tempDir}}}/{{{wdtInstaller}}} \
4748
&& cd weblogic-deploy/bin \
4849
&& rm ./*.cmd \

0 commit comments

Comments
 (0)