Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
448 lines (435 sloc) 30.2 KB
Started by user Subodh Cyber
Building remotely on Jenkins-Slave in workspace /root/jenkins-slave/workspace/MyTomcat Pipeline
> git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url https://github.com/subodhp/CI-CD-Jenkins-Docker-Github.git # timeout=10
Fetching upstream changes from https://github.com/subodhp/CI-CD-Jenkins-Docker-Github.git
> git --version # timeout=10
> git fetch --tags --progress https://github.com/subodhp/CI-CD-Jenkins-Docker-Github.git +refs/heads/*:refs/remotes/origin/*
> git rev-parse refs/remotes/origin/master^{commit} # timeout=10
> git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision 2cb761eb77454a7469b012e5df47aec615940ff1 (refs/remotes/origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 2cb761eb77454a7469b012e5df47aec615940ff1
First time build. Skipping changelog.
[MyTomcat Pipeline] $ docker build -t 172.17.0.2:5000/mytomcat:jenkins --pull=true "/root/jenkins-slave/workspace/MyTomcat Pipeline"
/etc/sysconfig/docker: line 41: unix:///var/run/docker.sock: No such file or directory
Sending build context to Docker daemon 77.82 kB
Step 1 : FROM 172.17.0.2:5000/centos_systemd:latest
Trying to pull repository 172.17.0.2:5000/centos_systemd ...
sha256:574fa523dd5bc722c0efdde118b68090921041b71ba252df4b9cadf969745c98: Pulling from 172.17.0.2:5000/centos_systemd
Digest: sha256:574fa523dd5bc722c0efdde118b68090921041b71ba252df4b9cadf969745c98
Status: Image is up to date for 172.17.0.2:5000/centos_systemd:latest
---> 4c8d701144c0
Step 2 : MAINTAINER Subodh Pachghare version: 0.1 <subodh.cyber@gmail.com>
---> Running in 81e58243c5b9
---> d2bd54cb0b6d
Removing intermediate container 81e58243c5b9
Step 3 : RUN yum install -y tomcat tomcat-webapps tomcat-admin-webapps wget
---> Running in 70bc594fbfcf
Loaded plugins: fastestmirror, ovl
Loading mirror speeds from cached hostfile
* base: centos.excellmedia.net
* extras: mirror.fibergrid.in
* updates: centos.myfahim.com
Resolving Dependencies
--> Running transaction check
---> Package tomcat.noarch 0:7.0.69-11.el7_3 will be installed
--> Processing Dependency: tomcat-lib = 7.0.69-11.el7_3 for package: tomcat-7.0.69-11.el7_3.noarch
--> Processing Dependency: java >= 1:1.6.0 for package: tomcat-7.0.69-11.el7_3.noarch
--> Processing Dependency: apache-commons-pool for package: tomcat-7.0.69-11.el7_3.noarch
--> Processing Dependency: apache-commons-logging for package: tomcat-7.0.69-11.el7_3.noarch
--> Processing Dependency: apache-commons-dbcp for package: tomcat-7.0.69-11.el7_3.noarch
--> Processing Dependency: apache-commons-daemon for package: tomcat-7.0.69-11.el7_3.noarch
--> Processing Dependency: apache-commons-collections for package: tomcat-7.0.69-11.el7_3.noarch
---> Package tomcat-admin-webapps.noarch 0:7.0.69-11.el7_3 will be installed
---> Package tomcat-webapps.noarch 0:7.0.69-11.el7_3 will be installed
--> Processing Dependency: jakarta-taglibs-standard >= 1.1 for package: tomcat-webapps-7.0.69-11.el7_3.noarch
---> Package wget.x86_64 0:1.14-13.el7 will be installed
--> Running transaction check
---> Package apache-commons-collections.noarch 0:3.2.1-22.el7_2 will be installed
---> Package apache-commons-daemon.x86_64 0:1.0.13-6.el7 will be installed
---> Package apache-commons-dbcp.noarch 0:1.4-17.el7 will be installed
--> Processing Dependency: mvn(org.apache.geronimo.specs:geronimo-jta_1.1_spec) for package: apache-commons-dbcp-1.4-17.el7.noarch
---> Package apache-commons-logging.noarch 0:1.1.2-7.el7 will be installed
--> Processing Dependency: mvn(logkit:logkit) for package: apache-commons-logging-1.1.2-7.el7.noarch
--> Processing Dependency: mvn(log4j:log4j) for package: apache-commons-logging-1.1.2-7.el7.noarch
--> Processing Dependency: mvn(avalon-framework:avalon-framework-api) for package: apache-commons-logging-1.1.2-7.el7.noarch
---> Package apache-commons-pool.noarch 0:1.6-9.el7 will be installed
---> Package jakarta-taglibs-standard.noarch 0:1.1.2-14.el7_1 will be installed
--> Processing Dependency: xalan-j2 >= 2.6.0 for package: jakarta-taglibs-standard-1.1.2-14.el7_1.noarch
--> Processing Dependency: tomcat-servlet-3.0-api for package: jakarta-taglibs-standard-1.1.2-14.el7_1.noarch
--> Processing Dependency: tomcat-jsp-2.2-api for package: jakarta-taglibs-standard-1.1.2-14.el7_1.noarch
---> Package java-1.8.0-openjdk.x86_64 1:1.8.0.131-3.b12.el7_3 will be installed
--> Processing Dependency: java-1.8.0-openjdk-headless = 1:1.8.0.131-3.b12.el7_3 for package: 1:java-1.8.0-openjdk-1.8.0.131-3.b12.el7_3.x86_64
--> Processing Dependency: xorg-x11-fonts-Type1 for package: 1:java-1.8.0-openjdk-1.8.0.131-3.b12.el7_3.x86_64
--> Processing Dependency: libpng15.so.15(PNG15_0)(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.131-3.b12.el7_3.x86_64
--> Processing Dependency: libasound.so.2(ALSA_0.9.0rc4)(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.131-3.b12.el7_3.x86_64
--> Processing Dependency: libasound.so.2(ALSA_0.9)(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.131-3.b12.el7_3.x86_64
--> Processing Dependency: fontconfig(x86-64) for package: 1:java-1.8.0-openjdk-1.8.0.131-3.b12.el7_3.x86_64
--> Processing Dependency: libpng15.so.15()(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.131-3.b12.el7_3.x86_64
--> Processing Dependency: libgif.so.4()(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.131-3.b12.el7_3.x86_64
--> Processing Dependency: libasound.so.2()(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.131-3.b12.el7_3.x86_64
--> Processing Dependency: libXtst.so.6()(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.131-3.b12.el7_3.x86_64
--> Processing Dependency: libXrender.so.1()(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.131-3.b12.el7_3.x86_64
--> Processing Dependency: libXi.so.6()(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.131-3.b12.el7_3.x86_64
--> Processing Dependency: libXext.so.6()(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.131-3.b12.el7_3.x86_64
--> Processing Dependency: libXcomposite.so.1()(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.131-3.b12.el7_3.x86_64
--> Processing Dependency: libX11.so.6()(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.131-3.b12.el7_3.x86_64
---> Package tomcat-lib.noarch 0:7.0.69-11.el7_3 will be installed
--> Processing Dependency: tomcat-el-2.2-api = 7.0.69-11.el7_3 for package: tomcat-lib-7.0.69-11.el7_3.noarch
--> Processing Dependency: ecj >= 1:4.2.1 for package: tomcat-lib-7.0.69-11.el7_3.noarch
--> Running transaction check
---> Package alsa-lib.x86_64 0:1.1.1-1.el7 will be installed
---> Package avalon-framework.noarch 0:4.3-10.el7 will be installed
---> Package avalon-logkit.noarch 0:2.1-14.el7 will be installed
--> Processing Dependency: jms for package: avalon-logkit-2.1-14.el7.noarch
---> Package ecj.x86_64 1:4.2.1-8.el7 will be installed
---> Package fontconfig.x86_64 0:2.10.95-10.el7 will be installed
--> Processing Dependency: fontpackages-filesystem for package: fontconfig-2.10.95-10.el7.x86_64
---> Package geronimo-jta.noarch 0:1.1.1-17.el7 will be installed
---> Package giflib.x86_64 0:4.1.6-9.el7 will be installed
--> Processing Dependency: libSM.so.6()(64bit) for package: giflib-4.1.6-9.el7.x86_64
--> Processing Dependency: libICE.so.6()(64bit) for package: giflib-4.1.6-9.el7.x86_64
---> Package java-1.8.0-openjdk-headless.x86_64 1:1.8.0.131-2.b11.el7_3 will be updated
---> Package java-1.8.0-openjdk-headless.x86_64 1:1.8.0.131-3.b12.el7_3 will be an update
---> Package libX11.x86_64 0:1.6.3-3.el7 will be installed
--> Processing Dependency: libX11-common >= 1.6.3-3.el7 for package: libX11-1.6.3-3.el7.x86_64
--> Processing Dependency: libxcb.so.1()(64bit) for package: libX11-1.6.3-3.el7.x86_64
---> Package libXcomposite.x86_64 0:0.4.4-4.1.el7 will be installed
---> Package libXext.x86_64 0:1.3.3-3.el7 will be installed
---> Package libXi.x86_64 0:1.7.4-2.el7 will be installed
---> Package libXrender.x86_64 0:0.9.8-2.1.el7 will be installed
---> Package libXtst.x86_64 0:1.2.2-2.1.el7 will be installed
---> Package libpng.x86_64 2:1.5.13-7.el7_2 will be installed
---> Package log4j.noarch 0:1.2.17-15.el7 will be installed
--> Processing Dependency: mvn(javax.mail:mail) for package: log4j-1.2.17-15.el7.noarch
---> Package tomcat-el-2.2-api.noarch 0:7.0.69-11.el7_3 will be installed
---> Package tomcat-jsp-2.2-api.noarch 0:7.0.69-11.el7_3 will be installed
---> Package tomcat-servlet-3.0-api.noarch 0:7.0.69-11.el7_3 will be installed
---> Package xalan-j2.noarch 0:2.7.1-23.el7 will be installed
--> Processing Dependency: xerces-j2 for package: xalan-j2-2.7.1-23.el7.noarch
--> Processing Dependency: osgi(org.apache.xerces) for package: xalan-j2-2.7.1-23.el7.noarch
---> Package xorg-x11-fonts-Type1.noarch 0:7.5-9.el7 will be installed
--> Processing Dependency: ttmkfdir for package: xorg-x11-fonts-Type1-7.5-9.el7.noarch
--> Processing Dependency: ttmkfdir for package: xorg-x11-fonts-Type1-7.5-9.el7.noarch
--> Processing Dependency: mkfontdir for package: xorg-x11-fonts-Type1-7.5-9.el7.noarch
--> Processing Dependency: mkfontdir for package: xorg-x11-fonts-Type1-7.5-9.el7.noarch
--> Running transaction check
---> Package fontpackages-filesystem.noarch 0:1.44-8.el7 will be installed
---> Package geronimo-jms.noarch 0:1.1.1-19.el7 will be installed
---> Package javamail.noarch 0:1.4.6-8.el7 will be installed
---> Package libICE.x86_64 0:1.0.9-2.el7 will be installed
---> Package libSM.x86_64 0:1.2.2-2.el7 will be installed
---> Package libX11-common.noarch 0:1.6.3-3.el7 will be installed
---> Package libxcb.x86_64 0:1.11-4.el7 will be installed
--> Processing Dependency: libXau.so.6()(64bit) for package: libxcb-1.11-4.el7.x86_64
---> Package ttmkfdir.x86_64 0:3.0.9-42.el7 will be installed
---> Package xerces-j2.noarch 0:2.11.0-17.el7_0 will be installed
--> Processing Dependency: xml-commons-resolver >= 1.2 for package: xerces-j2-2.11.0-17.el7_0.noarch
--> Processing Dependency: xml-commons-apis >= 1.4.01 for package: xerces-j2-2.11.0-17.el7_0.noarch
--> Processing Dependency: osgi(org.apache.xml.resolver) for package: xerces-j2-2.11.0-17.el7_0.noarch
--> Processing Dependency: osgi(javax.xml) for package: xerces-j2-2.11.0-17.el7_0.noarch
---> Package xorg-x11-font-utils.x86_64 1:7.5-20.el7 will be installed
--> Processing Dependency: libfontenc.so.1()(64bit) for package: 1:xorg-x11-font-utils-7.5-20.el7.x86_64
--> Processing Dependency: libXfont.so.1()(64bit) for package: 1:xorg-x11-font-utils-7.5-20.el7.x86_64
--> Running transaction check
---> Package libXau.x86_64 0:1.0.8-2.1.el7 will be installed
---> Package libXfont.x86_64 0:1.5.1-2.el7 will be installed
---> Package libfontenc.x86_64 0:1.1.2-3.el7 will be installed
---> Package xml-commons-apis.noarch 0:1.4.01-16.el7 will be installed
---> Package xml-commons-resolver.noarch 0:1.2-15.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository
Size
================================================================================
Installing:
tomcat noarch 7.0.69-11.el7_3 updates 89 k
tomcat-admin-webapps noarch 7.0.69-11.el7_3 updates 41 k
tomcat-webapps noarch 7.0.69-11.el7_3 updates 357 k
wget x86_64 1.14-13.el7 base 546 k
Installing for dependencies:
alsa-lib x86_64 1.1.1-1.el7 base 415 k
apache-commons-collections noarch 3.2.1-22.el7_2 base 509 k
apache-commons-daemon x86_64 1.0.13-6.el7 base 54 k
apache-commons-dbcp noarch 1.4-17.el7 base 167 k
apache-commons-logging noarch 1.1.2-7.el7 base 78 k
apache-commons-pool noarch 1.6-9.el7 base 113 k
avalon-framework noarch 4.3-10.el7 base 88 k
avalon-logkit noarch 2.1-14.el7 base 87 k
ecj x86_64 1:4.2.1-8.el7 base 1.4 M
fontconfig x86_64 2.10.95-10.el7 base 229 k
fontpackages-filesystem noarch 1.44-8.el7 base 9.9 k
geronimo-jms noarch 1.1.1-19.el7 base 31 k
geronimo-jta noarch 1.1.1-17.el7 base 20 k
giflib x86_64 4.1.6-9.el7 base 40 k
jakarta-taglibs-standard noarch 1.1.2-14.el7_1 base 303 k
java-1.8.0-openjdk x86_64 1:1.8.0.131-3.b12.el7_3 updates 233 k
javamail noarch 1.4.6-8.el7 base 758 k
libICE x86_64 1.0.9-2.el7 base 65 k
libSM x86_64 1.2.2-2.el7 base 39 k
libX11 x86_64 1.6.3-3.el7 base 606 k
libX11-common noarch 1.6.3-3.el7 base 162 k
libXau x86_64 1.0.8-2.1.el7 base 29 k
libXcomposite x86_64 0.4.4-4.1.el7 base 22 k
libXext x86_64 1.3.3-3.el7 base 39 k
libXfont x86_64 1.5.1-2.el7 base 150 k
libXi x86_64 1.7.4-2.el7 base 40 k
libXrender x86_64 0.9.8-2.1.el7 base 25 k
libXtst x86_64 1.2.2-2.1.el7 base 20 k
libfontenc x86_64 1.1.2-3.el7 base 30 k
libpng x86_64 2:1.5.13-7.el7_2 base 213 k
libxcb x86_64 1.11-4.el7 base 189 k
log4j noarch 1.2.17-15.el7 base 443 k
tomcat-el-2.2-api noarch 7.0.69-11.el7_3 updates 79 k
tomcat-jsp-2.2-api noarch 7.0.69-11.el7_3 updates 93 k
tomcat-lib noarch 7.0.69-11.el7_3 updates 3.8 M
tomcat-servlet-3.0-api noarch 7.0.69-11.el7_3 updates 210 k
ttmkfdir x86_64 3.0.9-42.el7 base 48 k
xalan-j2 noarch 2.7.1-23.el7 base 1.9 M
xerces-j2 noarch 2.11.0-17.el7_0 base 1.1 M
xml-commons-apis noarch 1.4.01-16.el7 base 227 k
xml-commons-resolver noarch 1.2-15.el7 base 108 k
xorg-x11-font-utils x86_64 1:7.5-20.el7 base 87 k
xorg-x11-fonts-Type1 noarch 7.5-9.el7 base 521 k
Updating for dependencies:
java-1.8.0-openjdk-headless x86_64 1:1.8.0.131-3.b12.el7_3 updates 31 M
Transaction Summary
================================================================================
Install 4 Packages (+43 Dependent packages)
Upgrade ( 1 Dependent package)
Total download size: 47 M
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
--------------------------------------------------------------------------------
Total 223 kB/s | 47 MB 03:35
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : tomcat-servlet-3.0-api-7.0.69-11.el7_3.noarch 1/49
Installing : tomcat-jsp-2.2-api-7.0.69-11.el7_3.noarch 2/49
Installing : libICE-1.0.9-2.el7.x86_64 3/49
Installing : libfontenc-1.1.2-3.el7.x86_64 4/49
Installing : libXfont-1.5.1-2.el7.x86_64 5/49
Installing : 1:xorg-x11-font-utils-7.5-20.el7.x86_64 6/49
Installing : libSM-1.2.2-2.el7.x86_64 7/49
Installing : alsa-lib-1.1.1-1.el7.x86_64 8/49
Installing : libXau-1.0.8-2.1.el7.x86_64 9/49
Installing : libxcb-1.11-4.el7.x86_64 10/49
Installing : tomcat-el-2.2-api-7.0.69-11.el7_3.noarch 11/49
Installing : libX11-common-1.6.3-3.el7.noarch 12/49
Installing : libX11-1.6.3-3.el7.x86_64 13/49
Installing : libXext-1.3.3-3.el7.x86_64 14/49
Installing : libXi-1.7.4-2.el7.x86_64 15/49
Installing : libXtst-1.2.2-2.1.el7.x86_64 16/49
Installing : giflib-4.1.6-9.el7.x86_64 17/49
Installing : libXcomposite-0.4.4-4.1.el7.x86_64 18/49
Installing : libXrender-0.9.8-2.1.el7.x86_64 19/49
Updating : 1:java-1.8.0-openjdk-headless-1.8.0.131-3.b12.el7_3.x86_ 20/49
Installing : 1:ecj-4.2.1-8.el7.x86_64 21/49
Installing : ttmkfdir-3.0.9-42.el7.x86_64 22/49
Installing : fontpackages-filesystem-1.44-8.el7.noarch 23/49
Installing : fontconfig-2.10.95-10.el7.x86_64 24/49
Installing : xorg-x11-fonts-Type1-7.5-9.el7.noarch 25/49
Installing : 2:libpng-1.5.13-7.el7_2.x86_64 26/49
Installing : 1:java-1.8.0-openjdk-1.8.0.131-3.b12.el7_3.x86_64 27/49
Installing : apache-commons-pool-1.6-9.el7.noarch 28/49
Installing : xml-commons-apis-1.4.01-16.el7.noarch 29/49
Installing : geronimo-jms-1.1.1-19.el7.noarch 30/49
Installing : apache-commons-collections-3.2.1-22.el7_2.noarch 31/49
Installing : xml-commons-resolver-1.2-15.el7.noarch 32/49
Installing : xalan-j2-2.7.1-23.el7.noarch 33/49
Installing : xerces-j2-2.11.0-17.el7_0.noarch 34/49
Installing : jakarta-taglibs-standard-1.1.2-14.el7_1.noarch 35/49
Installing : apache-commons-daemon-1.0.13-6.el7.x86_64 36/49
Installing : javamail-1.4.6-8.el7.noarch 37/49
Installing : log4j-1.2.17-15.el7.noarch 38/49
Installing : avalon-logkit-2.1-14.el7.noarch 39/49
Installing : avalon-framework-4.3-10.el7.noarch 40/49
Installing : apache-commons-logging-1.1.2-7.el7.noarch 41/49
Installing : geronimo-jta-1.1.1-17.el7.noarch 42/49
Installing : apache-commons-dbcp-1.4-17.el7.noarch 43/49
Installing : tomcat-lib-7.0.69-11.el7_3.noarch 44/49
Installing : tomcat-7.0.69-11.el7_3.noarch 45/49
Installing : tomcat-webapps-7.0.69-11.el7_3.noarch 46/49
Installing : tomcat-admin-webapps-7.0.69-11.el7_3.noarch 47/49
Installing : wget-1.14-13.el7.x86_64 48/49
install-info: No such file or directory for /usr/share/info/wget.info.gz
Cleanup : 1:java-1.8.0-openjdk-headless-1.8.0.131-2.b11.el7_3.x86_ 49/49
Verifying : libXext-1.3.3-3.el7.x86_64 1/49
Verifying : tomcat-servlet-3.0-api-7.0.69-11.el7_3.noarch 2/49
Verifying : giflib-4.1.6-9.el7.x86_64 3/49
Verifying : avalon-logkit-2.1-14.el7.noarch 4/49
Verifying : libXtst-1.2.2-2.1.el7.x86_64 5/49
Verifying : apache-commons-daemon-1.0.13-6.el7.x86_64 6/49
Verifying : libX11-1.6.3-3.el7.x86_64 7/49
Verifying : javamail-1.4.6-8.el7.noarch 8/49
Verifying : tomcat-7.0.69-11.el7_3.noarch 9/49
Verifying : 2:libpng-1.5.13-7.el7_2.x86_64 10/49
Verifying : xml-commons-resolver-1.2-15.el7.noarch 11/49
Verifying : fontpackages-filesystem-1.44-8.el7.noarch 12/49
Verifying : ttmkfdir-3.0.9-42.el7.x86_64 13/49
Verifying : xml-commons-apis-1.4.01-16.el7.noarch 14/49
Verifying : 1:ecj-4.2.1-8.el7.x86_64 15/49
Verifying : 1:java-1.8.0-openjdk-headless-1.8.0.131-3.b12.el7_3.x86_ 16/49
Verifying : libX11-common-1.6.3-3.el7.noarch 17/49
Verifying : libXcomposite-0.4.4-4.1.el7.x86_64 18/49
Verifying : jakarta-taglibs-standard-1.1.2-14.el7_1.noarch 19/49
Verifying : wget-1.14-13.el7.x86_64 20/49
Verifying : xorg-x11-fonts-Type1-7.5-9.el7.noarch 21/49
Verifying : tomcat-jsp-2.2-api-7.0.69-11.el7_3.noarch 22/49
Verifying : xerces-j2-2.11.0-17.el7_0.noarch 23/49
Verifying : log4j-1.2.17-15.el7.noarch 24/49
Verifying : libXrender-0.9.8-2.1.el7.x86_64 25/49
Verifying : geronimo-jms-1.1.1-19.el7.noarch 26/49
Verifying : tomcat-webapps-7.0.69-11.el7_3.noarch 27/49
Verifying : libfontenc-1.1.2-3.el7.x86_64 28/49
Verifying : tomcat-el-2.2-api-7.0.69-11.el7_3.noarch 29/49
Verifying : libXfont-1.5.1-2.el7.x86_64 30/49
Verifying : apache-commons-dbcp-1.4-17.el7.noarch 31/49
Verifying : libICE-1.0.9-2.el7.x86_64 32/49
Verifying : xalan-j2-2.7.1-23.el7.noarch 33/49
Verifying : fontconfig-2.10.95-10.el7.x86_64 34/49
Verifying : apache-commons-collections-3.2.1-22.el7_2.noarch 35/49
Verifying : 1:java-1.8.0-openjdk-1.8.0.131-3.b12.el7_3.x86_64 36/49
Verifying : apache-commons-logging-1.1.2-7.el7.noarch 37/49
Verifying : libXi-1.7.4-2.el7.x86_64 38/49
Verifying : tomcat-lib-7.0.69-11.el7_3.noarch 39/49
Verifying : libXau-1.0.8-2.1.el7.x86_64 40/49
Verifying : libSM-1.2.2-2.el7.x86_64 41/49
Verifying : apache-commons-pool-1.6-9.el7.noarch 42/49
Verifying : tomcat-admin-webapps-7.0.69-11.el7_3.noarch 43/49
Verifying : geronimo-jta-1.1.1-17.el7.noarch 44/49
Verifying : alsa-lib-1.1.1-1.el7.x86_64 45/49
Verifying : 1:xorg-x11-font-utils-7.5-20.el7.x86_64 46/49
Verifying : avalon-framework-4.3-10.el7.noarch 47/49
Verifying : libxcb-1.11-4.el7.x86_64 48/49
Verifying : 1:java-1.8.0-openjdk-headless-1.8.0.131-2.b11.el7_3.x86_ 49/49
Installed:
tomcat.noarch 0:7.0.69-11.el7_3
tomcat-admin-webapps.noarch 0:7.0.69-11.el7_3
tomcat-webapps.noarch 0:7.0.69-11.el7_3
wget.x86_64 0:1.14-13.el7
Dependency Installed:
alsa-lib.x86_64 0:1.1.1-1.el7
apache-commons-collections.noarch 0:3.2.1-22.el7_2
apache-commons-daemon.x86_64 0:1.0.13-6.el7
apache-commons-dbcp.noarch 0:1.4-17.el7
apache-commons-logging.noarch 0:1.1.2-7.el7
apache-commons-pool.noarch 0:1.6-9.el7
avalon-framework.noarch 0:4.3-10.el7
avalon-logkit.noarch 0:2.1-14.el7
ecj.x86_64 1:4.2.1-8.el7
fontconfig.x86_64 0:2.10.95-10.el7
fontpackages-filesystem.noarch 0:1.44-8.el7
geronimo-jms.noarch 0:1.1.1-19.el7
geronimo-jta.noarch 0:1.1.1-17.el7
giflib.x86_64 0:4.1.6-9.el7
jakarta-taglibs-standard.noarch 0:1.1.2-14.el7_1
java-1.8.0-openjdk.x86_64 1:1.8.0.131-3.b12.el7_3
javamail.noarch 0:1.4.6-8.el7
libICE.x86_64 0:1.0.9-2.el7
libSM.x86_64 0:1.2.2-2.el7
libX11.x86_64 0:1.6.3-3.el7
libX11-common.noarch 0:1.6.3-3.el7
libXau.x86_64 0:1.0.8-2.1.el7
libXcomposite.x86_64 0:0.4.4-4.1.el7
libXext.x86_64 0:1.3.3-3.el7
libXfont.x86_64 0:1.5.1-2.el7
libXi.x86_64 0:1.7.4-2.el7
libXrender.x86_64 0:0.9.8-2.1.el7
libXtst.x86_64 0:1.2.2-2.1.el7
libfontenc.x86_64 0:1.1.2-3.el7
libpng.x86_64 2:1.5.13-7.el7_2
libxcb.x86_64 0:1.11-4.el7
log4j.noarch 0:1.2.17-15.el7
tomcat-el-2.2-api.noarch 0:7.0.69-11.el7_3
tomcat-jsp-2.2-api.noarch 0:7.0.69-11.el7_3
tomcat-lib.noarch 0:7.0.69-11.el7_3
tomcat-servlet-3.0-api.noarch 0:7.0.69-11.el7_3
ttmkfdir.x86_64 0:3.0.9-42.el7
xalan-j2.noarch 0:2.7.1-23.el7
xerces-j2.noarch 0:2.11.0-17.el7_0
xml-commons-apis.noarch 0:1.4.01-16.el7
xml-commons-resolver.noarch 0:1.2-15.el7
xorg-x11-font-utils.x86_64 1:7.5-20.el7
xorg-x11-fonts-Type1.noarch 0:7.5-9.el7
Dependency Updated:
java-1.8.0-openjdk-headless.x86_64 1:1.8.0.131-3.b12.el7_3
Complete!
---> ea3ec4522793
Removing intermediate container 70bc594fbfcf
Step 4 : RUN systemctl enable tomcat
---> Running in 39ce3144e23c
Created symlink /etc/systemd/system/multi-user.target.wants/tomcat.service, pointing to /usr/lib/systemd/system/tomcat.service.
 ---> e9727e37e4c3
Removing intermediate container 39ce3144e23c
Step 5 : RUN cd /usr/share/tomcat/webapps && wget https://tomcat.apache.org/tomcat-6.0-doc/appdev/sample/sample.war
---> Running in e16ba25ff7be
--2017-05-26 08:48:51-- https://tomcat.apache.org/tomcat-6.0-doc/appdev/sample/sample.war
Resolving tomcat.apache.org (tomcat.apache.org)... 88.198.26.2, 140.211.11.105, 2a01:4f8:130:2192::2
Connecting to tomcat.apache.org (tomcat.apache.org)|88.198.26.2|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4606 (4.5K)
Saving to: 'sample.war'
0K .... 100% 160M=0s
2017-05-26 08:48:57 (160 MB/s) - 'sample.war' saved [4606/4606]
 ---> fe9306bd263d
Removing intermediate container e16ba25ff7be
Step 6 : EXPOSE 8080
---> Running in de402a536a48
---> b4d87199e57e
Removing intermediate container de402a536a48
Step 7 : CMD /usr/sbin/init
---> Running in 7bef22f02dd1
---> 3eae7b04dd10
Removing intermediate container 7bef22f02dd1
Successfully built 3eae7b04dd10
[MyTomcat Pipeline] $ docker tag 3eae7b04dd10 172.17.0.2:5000/mytomcat:latest
/etc/sysconfig/docker: line 41: unix:///var/run/docker.sock: No such file or directory
[MyTomcat Pipeline] $ docker inspect 3eae7b04dd10
/etc/sysconfig/docker: line 41: unix:///var/run/docker.sock: No such file or directory
[MyTomcat Pipeline] $ docker push 172.17.0.2:5000/mytomcat:jenkins
/etc/sysconfig/docker: line 41: unix:///var/run/docker.sock: No such file or directory
The push refers to a repository [172.17.0.2:5000/mytomcat]
0645d4f02141: Preparing
666b88394449: Preparing
76c4ad389070: Preparing
c186afe9b64b: Preparing
808638c53536: Preparing
c8391c1195c6: Preparing
b51149973e6a: Preparing
c8391c1195c6: Waiting
b51149973e6a: Waiting
c186afe9b64b: Layer already exists
808638c53536: Layer already exists
c8391c1195c6: Layer already exists
b51149973e6a: Layer already exists
666b88394449: Pushed
0645d4f02141: Pushed
76c4ad389070: Pushed
jenkins: digest: sha256:778cd1548e7e36b8d51077ff9cc7f0b5c115d7a8d68ba2ee7b7dffce20dfea90 size: 1788
[MyTomcat Pipeline] $ docker push 172.17.0.2:5000/mytomcat:latest
/etc/sysconfig/docker: line 41: unix:///var/run/docker.sock: No such file or directory
The push refers to a repository [172.17.0.2:5000/mytomcat]
0645d4f02141: Preparing
666b88394449: Preparing
76c4ad389070: Preparing
c186afe9b64b: Preparing
808638c53536: Preparing
c8391c1195c6: Preparing
b51149973e6a: Preparing
c8391c1195c6: Waiting
b51149973e6a: Waiting
666b88394449: Layer already exists
808638c53536: Layer already exists
76c4ad389070: Layer already exists
0645d4f02141: Layer already exists
c186afe9b64b: Layer already exists
b51149973e6a: Layer already exists
c8391c1195c6: Layer already exists
latest: digest: sha256:778cd1548e7e36b8d51077ff9cc7f0b5c115d7a8d68ba2ee7b7dffce20dfea90 size: 1788
Finished: SUCCESS