Coder Social home page Coder Social logo

docker-jenkins's Introduction

Jenkins Docker Image

Plugins

blueocean:latest
build-timeout:latest
email-ext:latest
workflow-aggregator:latest
pipeline-github-lib:latest
ssh-slaves:latest
timestamper:latest
ws-cleanup:latest

Would you like to have more preinstalled plugins on your docker image? Fork this repository and edit the plugins.txt

Usage

Make sure you have installed docker on your system. More information

Build Image

docker build -t psykosoldi3r/jenkins .

Run Image

docker run -d -p 8080:8080 --name jenkins psykosoldi3r/jenkins

Run Container

docker run jenkins

Stop Container

docker stop jenkins

Default User

If you want to change the default username and password. Its located in the Dockerfile and defined as environment variables.

username: admin
password: admin

Tip A: You need manually set the security of jenkins Tip B: don't forget to change the password of the admin account. Or create a new one and remove the default user

Digital Ocean

Deploy

  1. Create a new droplet with the pre installed docker image (can be found under One-click apps)
  2. Use the following script for the user data
#!/bin/bash

apt-get -y update
apt-get -y install git
git clone https://github.com/PsykoSoldi3r/docker-jenkins.git
cd docker-jenkins
docker build -t psykosoldi3r/jenkins .
docker run -d -p 8080:8080 -p 50000:50000 --name jenkins psykosoldi3r/jenkins
  1. Build your droplet. After your droplet is created, Jenkins should run on DROPLET_IP:8080 (its takes some time before jenkins is up after droplet is created)

docker-jenkins's People

Contributors

joeykamsteeg avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.