Skip to content

Commit 4f3d932

Browse files
remove reference to serverstartmode, add directory to git clone
1 parent 8b631c0 commit 4f3d932

File tree

1 file changed

+1
-8
lines changed
  • kubernetes/samples/scripts/create-weblogic-domain/domain-home-in-image

1 file changed

+1
-8
lines changed

kubernetes/samples/scripts/create-weblogic-domain/domain-home-in-image/create-domain.sh

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ function initialize {
153153
#
154154
function 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}

0 commit comments

Comments
 (0)