vincen 发表于 2018-1-6 15:13:37

Docker实践2:安装Docker及weblogic镜像

$ sudo sh buildDockerImage.sh -g  Checking if required packages are present and valid...
  fmw_12.1.3.0.0_wls.jar: OK
  =====================
  Building image 'oracle/weblogic:12.1.3-generic' ...
  Sending build context to Docker daemon 923.2 MB
  Step 1 : FROM oracle/serverjre:8
  ---> 8c0f2aaba6ed
  Step 2 : MAINTAINER Bruno Borges <bruno.borges@oracle.com>
  ---> Running in a3be98df73be
  ---> d3832c5b38c1
  Removing intermediate container a3be98df73be
  Step 3 : ENV ORACLE_HOME /u01/oracle USER_MEM_ARGS "-Djava.security.egd=file:/dev/./urandom" PATH $PATH:/usr/java/default/bin:/u01/oracle/oracle_common/common/bin
  ---> Running in fb0773b87de2
  ---> 49ebdff9c0f2
  Removing intermediate container fb0773b87de2
  Step 4 : RUN mkdir -p /u01 &&   chmod a+xr /u01 &&   useradd -b /u01 -d /u01/oracle -m -s /bin/bash oracle &&   chown oracle:oracle -R /u01
  ---> Running in cb84a302230a
  ---> 81a0795cb544
  Removing intermediate container cb84a302230a
  Step 5 : ENV FMW_PKG fmw_12.1.3.0.0_wls.jar
  ---> Running in ba7ab1312206
  ---> ddb95b086113
  Removing intermediate container ba7ab1312206
  Step 6 : COPY $FMW_PKG install.file oraInst.loc /u01/
  ---> 95099fd96c30
  Removing intermediate container 848ed94e0775
  Step 7 : USER oracle
  ---> Running in e8a160c7caa1
  ---> 6e6dfc3527ee
  Removing intermediate container e8a160c7caa1
  Step 8 : RUN $JAVA_HOME/bin/java -jar /u01/$FMW_PKG -ignoreSysPrereqs -novalidation -silent -responseFile /u01/install.file -invPtrLoc /u01/oraInst.loc -jreLoc $JAVA_HOME ORACLE_HOME=$ORACLE_HOME INSTALL_TYPE="WebLogic Server" &&   rm /u01/$FMW_PKG /u01/oraInst.loc /u01/install.file
  ---> Running in 7e844f2f164b
  Launcher log file is /tmp/OraInstall2017-05-08_01-43-40AM/launcher2017-05-08_01-43-40AM.log.
  Extracting files.............
  Starting Oracle Universal InstallerChecking if CPU speed is above 300 MHz.   Actual 2494.162 MHz    Passed
  Checking swap space: must be greater than 512 MB.   Actual 839676 MB    Passed
  Checking if this platform requires a 64-bit JVM.   Actual 64    Passed (64-bit not required)
  Checking temp space: must be greater than 300 MB.   Actual 8146 MB    Passed
  Preparing to launch the Oracle Universal Installer from /tmp/OraInstall2017-05-08_01-43-40AM
  Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
  Log: /tmp/OraInstall2017-05-08_01-43-40AM/install2017-05-08_01-43-40AM.log
  Setting ORACLE_HOME to /u01/oracle
  Setting INSTALL_TYPE to WebLogic Server
  Copyright (c) 1996, 2014, Oracle and/or its affiliates. All rights reserved.
  Reading response file..
  Validations are disabled for this session.
  Verifying data......
  Copying Files...
  You can find the log of this install session at:
  /tmp/OraInstall2017-05-08_01-43-40AM/install2017-05-08_01-43-40AM.log
  -----------20%----------40%----------60%----------80%--------100%The installation of Oracle Fusion Middleware 12c WebLogic Server and Coherence 12.1.3.0.0 completed successfully.
  Logs successfully copied to /u01/oracle/.inventory/logs.
  ---> 7588fb8b1ea1
  Removing intermediate container 7e844f2f164b
  Step 9 : WORKDIR $ORACLE_HOME
  ---> Running in 2653c76fc994
  ---> fc3cfaae5e57
  Removing intermediate container 2653c76fc994
  Step 10 : CMD bash
  ---> Running in f4b21a3fb17b
  ---> 5d5e3db57694
  Removing intermediate container f4b21a3fb17b
  Successfully built 5d5e3db57694WebLogic Docker Image for 'generic' version 12.1.3 is ready to be extended:
  --> oracle/weblogic:12.1.3-genericBuild completed in 210 seconds.
页: [1]
查看完整版本: Docker实践2:安装Docker及weblogic镜像