Products | Versions |
---|---|
TIBCO BusinessWorks Container Edition | 2.2.1 |
<installlocation>/bwce/2.2/
2. The file has the following details
FROM debian:jessie
MAINTAINER TIBCO Software Inc.
ADD . /
RUN chmod 755 /scripts/*.sh && apt-get update && apt-get -y install unzip ssh
ENTRYPOINT ["/scripts/start.sh"]
3. Change the file as follows
FROM centos:7
MAINTAINER TIBCO Software Inc.
ADD . /
RUN chmod 755 /scripts/*.sh && yum update && yum -y install unzip ssh
ENTRYPOINT ["/scripts/start.sh"]
4. After making above change, use the normal step to build the image
sh-3.2# docker build -t tibco/bwcecentos7:base .
Sending build context to Docker daemon 179.9 MB
Step 1/5 : FROM centos:7
---> 98d35105a391
Step 2/5 : MAINTAINER TIBCO Software Inc.
---> Using cache
---> 609c00558736
Step 3/5 : ADD . /
---> Using cache
---> b39752011b21
Step 4/5 : RUN chmod 755 /scripts/*.sh && yum update && yum -y install unzip ssh
---> Using cache
---> 1506a912243f
Step 5/5 : ENTRYPOINT /scripts/start.sh
---> Using cache
---> 3197f6b3ba7e
Successfully built 3197f6b3ba7e
5. The above command creates a new base image with centos7 as the base operating system
tibco/bwcecentos7 base 3197f6b3ba7e 6 days ago 453 MB
6. This image can be used for further bw application deployment.