Docker Community Forums

Share and learn in the Docker community.

Dockerbuild fails on command prompt


(Infoatcall) #1

Hi,

I’m trying to build an image on base of CentOs and want to install some Tibco software as well.
When I specify though to run the script to install the Tibco software using the console for prompts all I get is the initial screen from the wizard, it’s not getting through to the user input prompts.
If I run a shell in the container and execute the same install wizard manually but also in console mode it works fine.

Is there anything I can do to make that work?

This is the dockerfile I’m using:

FROM tutum/centos:centos6

RUN useradd -ms /bin/bash tibco
ENV HOME /home/node
ENV TERM dumb

RUN yum makecache fast
RUN yum clean all
RUN yum -y install sudo
RUN yum -y install unzip wget

Install Java JDK

copy files/jdk-7u79-linux-x64.rpm /tmp/
RUN rpm -Uvh /tmp/jdk-7u79-linux-x64.rpm
RUN alternatives --install /usr/bin/java java /usr/java/latest/bin/java 2
RUN mkdir /opt/java
RUN ln -s /usr/java/jdk1.7.0_75 /opt/java/jdk1.7.0_71
RUN yum -y install bc

RUN rm /tmp/jdk-7u79-linux-x64.rpm

Install Tibco Rendezvous

RUN mkdir /tmp/software

copy files/TIB_rv_8.4.2_linux26gl23_x86.zip /tmp/

RUN unzip -o /tmp/TIB_rv_8.4.2_linux26gl23_x86.zip -d /tmp/software
RUN /tmp/software/TIBCOUniversalInstaller-lnx-x86.bin -console

Regards,
Lars