From 40330aed8dd6884ea30317f451bf8a5200eff327 Mon Sep 17 00:00:00 2001 From: Derek Sharpe Date: Mon, 1 Jul 2024 09:53:49 -0500 Subject: [PATCH] [full-mats] mkdir should tolerate pre-existing directory for cfgtoollogs path --- .../src/main/resources/docker-files/install-middleware.mustache | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imagetool/src/main/resources/docker-files/install-middleware.mustache b/imagetool/src/main/resources/docker-files/install-middleware.mustache index 3915f53b..1beccc6a 100644 --- a/imagetool/src/main/resources/docker-files/install-middleware.mustache +++ b/imagetool/src/main/resources/docker-files/install-middleware.mustache @@ -59,7 +59,7 @@ RUN echo "INSTALLING MIDDLEWARE" \ {{#useOwnerPermsForGroup}} # OPatch needs write permissions to the logs folder and lock file when running in OpenShift - RUN mkdir ${ORACLE_HOME}/cfgtoollogs \ + RUN mkdir -p ${ORACLE_HOME}/cfgtoollogs \ && chmod g=u ${ORACLE_HOME}/cfgtoollogs \ && chmod g=u ${ORACLE_HOME}/inventory/locks/oh.lock {{/useOwnerPermsForGroup}}