/jenkins

Jenkins docker image with docker-python-node-npm preinstalled for Pipeline

Primary LanguageGroovy

jenkins

Jenkins docker image with docker-python-node-npm preinstalled for Pipeline

Images Ready-To-Go --- you can find the jenkinsfile inside this repo

update 20201224

  • jenkins: v2.263.1-lts
  • nvm v0.37.2
  • node: 14.15.3-lts
  • composer: 1.27.4
  • removed the plugIn installation by default [anyway, you can remove the comments in the Dockerfile and redo the Docker build if you want]

Ovverride the docker-compose config with your own information:

version: '3'
networks:
  default:
    external:
      name: public
services:
  jenkins:
    image: fabriziogaliano/jenkins
    restart: always
    container_name: jenkins
    user: root
    tty: true
    volumes:
      - /root/.ssh:/root/.ssh
      - ./data:/var/jenkins_home
      - /var/run/docker.sock:/var/run/docker.sock
    environment:
      JAVA_OPT: "JAVA_OPT=-Xmx4g -Dhudson.footerURL=https://ci.example.it"
    ports:
      - 80:8080

some screenshot to help configure jenkins properly

1

2

3

4

5

Enjoy it