Skip to content

Commit 4025e20

Browse files
committed
Merge remote-tracking branch 'origin/issue#130-add-docker-sample-that-creates-a-domain' into issue#130-add-docker-sample-that-creates-a-domain
2 parents daafc38 + 63f59d5 commit 4025e20

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

samples/docker-domain/Dockerfile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,13 @@
1212
# HOW TO BUILD THIS IMAGE
1313
# -----------------------
1414
# Put all downloaded files in the same directory as this Dockerfile
15+
# Build the deployment archive file using the build-archive.sh script.
16+
# $ ./build-archive.sh
17+
#
1518
# Run:
1619
# $ sudo docker build \
1720
# --build-arg WDT_MODEL=simple-topology.yaml \
21+
# --build-arg WDT_ARCHIVE=archive.zip \
1822
# -t 12213-domain-wdt .
1923
#
2024
# Pull base image
@@ -67,9 +71,9 @@ RUN chmod +xw /u01/oracle/*.sh && \
6771
if [ -n "$WDT_MODEL" ]; then MODEL_OPT="-model_file /u01/$WDT_MODEL"; fi && \
6872
if [ -n "$WDT_ARCHIVE" ]; then ARCHIVE_OPT="-archive_file /u01/$WDT_ARCHIVE"; fi && \
6973
/u01/weblogic-deploy/bin/createDomain.sh \
70-
-oracle_home /u01/oracle \
74+
-oracle_home $ORACLE_HOME \
7175
-java_home ${JAVA_HOME} \
72-
-domain_parent /u01/oracle/user_projects/domains \
76+
-domain_parent $PRE_DOMAIN_HOME \
7377
-domain_type WLS \
7478
$MODEL_OPT \
7579
$ARCHIVE_OPT && \

samples/docker-domain/build-archive.sh

100644100755
File mode changed.

samples/docker-domain/build.sh

100644100755
File mode changed.

samples/docker-domain/weblogic-deploy.zip.download

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
#
33
# - wget https://github.com/oracle/weblogic-deploy-tooling/releases/download/weblogic-deploy-tooling-0.11/weblogic-deploy.zip
44
#
5-
weblogic-deploy.zip
5+
d35e83d969dd6a485409da6e9eca250f weblogic-deploy.zip

0 commit comments

Comments
 (0)