Skip to content

Commit 9cf4df7

Browse files
committed
Merge branch 'fix-mkdir' into 'main'
[full-mats] mkdir should tolerate pre-existing directory for cfgtoollogs path See merge request weblogic-cloud/weblogic-image-tool!477
2 parents 934e214 + 40330ae commit 9cf4df7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

imagetool/src/main/resources/docker-files/install-middleware.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ RUN echo "INSTALLING MIDDLEWARE" \
5959

6060
{{#useOwnerPermsForGroup}}
6161
# OPatch needs write permissions to the logs folder and lock file when running in OpenShift
62-
RUN mkdir ${ORACLE_HOME}/cfgtoollogs \
62+
RUN mkdir -p ${ORACLE_HOME}/cfgtoollogs \
6363
&& chmod g=u ${ORACLE_HOME}/cfgtoollogs \
6464
&& chmod g=u ${ORACLE_HOME}/inventory/locks/oh.lock
6565
{{/useOwnerPermsForGroup}}

0 commit comments

Comments
 (0)