File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed
kubernetes/samples/scripts/create-weblogic-domain/domain-home-in-image Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ function initialize {
153153#
154154function getDockerSample {
155155 rm -rf ${scriptDir} /docker-images
156- git clone https://github.com/oracle/docker-images.git
156+ git clone -C ${scriptDir} https://github.com/oracle/docker-images.git
157157}
158158
159159#
@@ -178,12 +178,6 @@ function createFiles {
178178
179179 # Generate the properties file that will be used when creating the weblogic domain
180180 echo Generating ${domainPropertiesOutput}
181-
182- if [ " ${productionModeEnabled} " = true ]; then
183- serverStartMode=" prod"
184- else
185- serverStartMode=" dev"
186- fi
187181
188182 cp ${domainPropertiesInput} ${domainPropertiesOutput}
189183 sed -i -e " s:%DOMAIN_NAME%:${domainName} :g" ${domainPropertiesOutput}
@@ -195,7 +189,6 @@ function createFiles {
195189 sed -i -e " s:%CLUSTER_NAME%:${clusterName} :g" ${domainPropertiesOutput}
196190 sed -i -e " s:%PRODUCTION_MODE_ENABLED%:${productionModeEnabled} :g" ${domainPropertiesOutput}
197191 sed -i -e " s:%CLUSTER_TYPE%:${clusterType} :g" ${domainPropertiesOutput}
198- sed -i -e " s:%SERVER_START_MODE%:${serverStartMode} :g" ${domainPropertiesOutput}
199192 sed -i -e " s:%JAVA_OPTIONS%:${javaOptions} :g" ${domainPropertiesOutput}
200193 sed -i -e " s:%T3_CHANNEL_PORT%:${t3ChannelPort} :g" ${domainPropertiesOutput}
201194 sed -i -e " s:%T3_PUBLIC_ADDRESS%:${t3PublicAddress} :g" ${domainPropertiesOutput}
You can’t perform that action at this time.
0 commit comments