Closed
Description
I'm trying to build an image (infrastructure ) ,I'm stuck at this error :->
$ sh buildDockerImage.sh -v 12.2.1 -i
Checking if required packages are present and valid...
fmw_12.2.1.0.0_infrastructure_Disk1_1of1.zip: OK
Proxy settings were found and will be used during build.
Building image 'oracle/weblogic:12.2.1-infrastructure' ...
Sending build context to Docker daemon 1.594 GB
Step 1 : FROM oracle/serverjre:8
---> faef51c0bb4d
Step 2 : MAINTAINER Bruno Borges <bruno.borges@oracle.com>
---> Running in f8747f1d1311
---> 032508202a47
Removing intermediate container f8747f1d1311
Step 3 : ENV FMW_PKG fmw_12.2.1.0.0_infrastructure_Disk1_1of1.zip FMW_JAR fmw_12.2.1.0.0_infrastructure.jar 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 cfcf84c780a4
---> 27e028666ae6
Removing intermediate container cfcf84c780a4
Step 4 : COPY $FMW_PKG install.file oraInst.loc /u01/
---> b8dab6974189
Removing intermediate container 22dcc6b883ae
Step 5 : RUN chmod a+xr /u01 && useradd -b /u01 -m -s /bin/bash oracle && echo oracle:oracle | chpasswd && cd /u01 && $JAVA_HOME/bin/jar xf /u01/$FMW_PKG && cd - && su -c "$JAVA_HOME/bin/java -jar /u01/$FMW_JAR -silent -responseFile /u01/install.file -invPtrLoc /u01/oraInst.loc -jreLoc $JAVA_HOME -ignoreSysPrereqs -force -novalidation ORACLE_HOME=$ORACLE_HOME INSTALL_TYPE=\"Fusion Middleware Infrastructure\"" - oracle && chown oracle:oracle -R /u01 && rm /u01/$FMW_JAR /u01/$FMW_PKG /u01/oraInst.loc /u01/install.file
---> Running in 407be2435278
/bin/sh: /usr/java/default/bin/jar: Not a directory
Removing intermediate container 407be2435278
The command '/bin/sh -c chmod a+xr /u01 && useradd -b /u01 -m -s /bin/bash oracle && echo oracle:oracle | chpasswd && cd /u01 && $JAVA_HOME/bin/jar xf /u01/$FMW_PKG && cd - && su -c "$JAVA_HOME/bin/java -jar /u01/$FMW_JAR -silent -responseFile /u01/install.file -invPtrLoc /u01/oraInst.loc -jreLoc $JAVA_HOME -ignoreSysPrereqs -force -novalidation ORACLE_HOME=$ORACLE_HOME INSTALL_TYPE=\"Fusion Middleware Infrastructure\"" - oracle && chown oracle:oracle -R /u01 && rm /u01/$FMW_JAR /u01/$FMW_PKG /u01/oraInst.loc /u01/install.file' returned a non-zero code: 126
There was an error building the image.
Metadata
Metadata
Assignees
Labels
No labels