Page 1 of 1

jenkins docker image , how to ?

Posted: Tue Oct 22, 2019 7:39 pm
by macario
I have eve-ng pro and I need to install the jenkins docker image so I can http into it.

How can I do this ?

thank you

M

ps. I've the cookbook but it does not help. I tried to assign static ip with ip addr command on startup cfg but it does not work neither with jenkins image or other docker images I've tried it such as busybox.

Re: jenkins docker image , how to ?

Posted: Wed Oct 23, 2019 2:16 pm
by eveadmin
Hi,


Cut and paste code below ;-)

Code: Select all

#Create Dir
mkdir /opt/dockers-src/eve-jenkins

#Create dockerfile
cat > /opt/dockers-src/eve-jenkins/Dockerfile << EOF
FROM jenkins/jenkins:lts

USER root

RUN apt-get update && apt-get install -y  net-tools bsdutils bash
EOF
# Build docker
cd /opt/dockers-src/eve-jenkins
docker -H tcp://127.0.0.1:4243  build -t eve-jenkins --rm=true .

E.