File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
kubernetes/samples/scripts/create-weblogic-domain/domain-home-in-image Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -235,14 +235,6 @@ function createFiles {
235
235
sed -i -e " s:%WEBLOGIC_IMAGE_PULL_SECRET_NAME%:${imagePullSecretName} :g" ${dcrOutput}
236
236
sed -i -e " s:%WEBLOGIC_IMAGE_PULL_SECRET_PREFIX%:${imagePullSecretPrefix} :g" ${dcrOutput}
237
237
238
- # Remove any "...yaml-e" files left over from running sed
239
- rm -f ${domainOutputDir} /* .yaml-e
240
- }
241
-
242
- #
243
- # Function to build docker image and create WebLogic domain home
244
- #
245
- function createDomainHome {
246
238
if [ -z $imagePath ]; then
247
239
imagePath=" 12213-domain-home-in-image-wdt"
248
240
fi
@@ -254,7 +246,15 @@ function createDomainHome {
254
246
else
255
247
sed -i -e " s|%IMAGE_NAME%|${image} |g" ${dcrOutput}
256
248
fi
257
-
249
+
250
+ # Remove any "...yaml-e" files left over from running sed
251
+ rm -f ${domainOutputDir} /* .yaml-e
252
+ }
253
+
254
+ #
255
+ # Function to build docker image and create WebLogic domain home
256
+ #
257
+ function createDomainHome {
258
258
dockerDir=${scriptDir} /docker-images/OracleWebLogic/samples/${imagePath}
259
259
dockerPropsDir=${dockerDir} /properties
260
260
cp ${domainPropertiesOutput} ${dockerPropsDir} /docker-build
You can’t perform that action at this time.
0 commit comments