Answer the question
In order to leave comments, you need to log in
Docker. How to complete the build of the image if the installation of the software goes into the background?
Good day!
I'm building an image with a deployed IBM MDM system.
I install IBM Websphere without any problems I ran
into a problem in docker when installing Oracle Client Database
The problematic code snippet:
COPY linuxx64_12201_client.zip /tmp
RUN cd /tmp && \
unzip linuxx64_12201_client.zip && \
USER mdm_dev
RUN cd /tmp/client && \
./runInstaller -silent -force \
FROM_LOCATION=/tmp/client/stage/products.xml \
INVENTORY_LOCATION=/opt/IBM/oraInventory \
UNIX_GROUP_NAME=mdm_dev \
ORACLE_HOME=/opt/IBM/oracle/product/12.2.0/client_1 \
ORACLE_HOME_NAME="OraClient12c_Home1" \
ORACLE_BASE=/opt/IBM/oracle \
oracle.install.client.installType="Administrator"
Please check '/opt/IBM/oraInventory/logs/silentInstall2019-10-11_08-16-12AM.log' for more details.
As a root user, execute the following script(s):
1. /opt/IBM/oraInventory/orainstRoot.sh
Successfully Setup Software.
USER root
RUN cp /usr/bin/awk /bin/awk && \
/opt/IBM/oraInventory/orainstRoot.sh
Answer the question
In order to leave comments, you need to log in
I would search the docs and forums for how to run orainstRoot.sh in non-interactive mode.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question