Skip to content

Commit 40330ae

Browse files
committed
[full-mats] mkdir should tolerate pre-existing directory for cfgtoollogs path
1 parent 934e214 commit 40330ae

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

+1-1
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)