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 {
153
153
#
154
154
function getDockerSample {
155
155
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
157
157
}
158
158
159
159
#
@@ -178,12 +178,6 @@ function createFiles {
178
178
179
179
# Generate the properties file that will be used when creating the weblogic domain
180
180
echo Generating ${domainPropertiesOutput}
181
-
182
- if [ " ${productionModeEnabled} " = true ]; then
183
- serverStartMode=" prod"
184
- else
185
- serverStartMode=" dev"
186
- fi
187
181
188
182
cp ${domainPropertiesInput} ${domainPropertiesOutput}
189
183
sed -i -e " s:%DOMAIN_NAME%:${domainName} :g" ${domainPropertiesOutput}
@@ -195,7 +189,6 @@ function createFiles {
195
189
sed -i -e " s:%CLUSTER_NAME%:${clusterName} :g" ${domainPropertiesOutput}
196
190
sed -i -e " s:%PRODUCTION_MODE_ENABLED%:${productionModeEnabled} :g" ${domainPropertiesOutput}
197
191
sed -i -e " s:%CLUSTER_TYPE%:${clusterType} :g" ${domainPropertiesOutput}
198
- sed -i -e " s:%SERVER_START_MODE%:${serverStartMode} :g" ${domainPropertiesOutput}
199
192
sed -i -e " s:%JAVA_OPTIONS%:${javaOptions} :g" ${domainPropertiesOutput}
200
193
sed -i -e " s:%T3_CHANNEL_PORT%:${t3ChannelPort} :g" ${domainPropertiesOutput}
201
194
sed -i -e " s:%T3_PUBLIC_ADDRESS%:${t3PublicAddress} :g" ${domainPropertiesOutput}
You can’t perform that action at this time.
0 commit comments