Public Repository

Last pushed: 2 years ago
Short Description
Ubuntu with apache , jenkins , mysql installed
Full Description

#Docker File
FROM ubuntu
RUN apt-get update
RUN apt-get install -y apache2 telnet wget
RUN wget -q -O - https://jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add -
RUN sudo sh -c 'echo deb http://pkg.jenkins-ci.org/debian binary/ > /etc/apt/sources.list.d/jenkins.list'
RUN sudo apt-get update
RUN sudo apt-get install -y jenkins
RUN apt-get install -y mysql-server

To Use this image

  1. docker pull chetanig/apache_ubuntu:v1
  2. docker run -it -p 90:8080 chetanig/apache_ubuntu:v1 /bin/bash
  3. from inside the container run the command /etc/init.d/jenkins start
  4. press ctrl p+q and comoe out of the container without stopping it.
  5. Now hit the url http://<host-ip-address>:90
  6. This will open jenkins dashboard
Docker Pull Command
Owner
chetanig

Comments (0)