User bio
404 bio not found
Member since Mar 13, 2019
Replies:

This answer is for others who are looking for a complete answer that worked for me. This is all thanks to Dmitry and Rich. I hope this helps someone else when they are searching the forums. My host machine is Windows 10 1809. My docker version is 2.0.0.3.

I had to use both ccontainermain and the ccontrol-wrapper.sh. My final dockerfile that is working successfully is:

FROM centos:latest

 

ENV TMP_INSTALL_DIR=/tmp/distrib

ENV ISC_PACKAGE_INSTANCENAME="CACHE"

ENV ISC_PACKAGE_INSTALLDIR="/usr/cachesys"

ENV ISC_PACKAGE_UNICODE="Y"

ENV ISC_PACKAGE_INITIAL_SECURITY="Minimal"

ENV ISC_PACKAGE_CLIENT_COMPONENTS=""

 

RUN mkdir ${TMP_INSTALL_DIR}

WORKDIR ${TMP_INSTALL_DIR}

 

RUN yum -y update && \

yum -y install tar gzip which java-1.8.0-openjdk

 

ADD cache-2017.1.3.317.0.18571-lnxrhx64.tar.gz .

RUN ./cache-2017.1.3.317.0.18571-lnxrhx64/cinstall_silent && rm -rf /tmp/distrib && ccontrol stop cache quietly

 

COPY ccontrol-wrapper.sh /usr/bin/

RUN cd /usr/bin && \

rm ccontrol && \

mv ccontrol-wrapper.sh ccontrol && \

chmod 555 ccontrol

 

WORKDIR /

ADD ccontainermain .

 

EXPOSE 57772 22 1972

 

ENTRYPOINT ["/ccontainermain", "-i", "CACHE"]

Certifications & Credly badges:
John has no Certifications & Credly badges yet.
Global Masters badges:
John has no Global Masters badges yet.
Followers:
John has no followers yet.
Following:
John has not followed anybody yet.