Sign inSign up

yfshare/jenkins

By yfshare

Updated about 8 years ago

Jenkins Docker Image

Image
0

283

yfshare/jenkins repository overview

主要变化
  • 新增Maven 3.5.3仓库
  • 解决docker jenkins打包JAVA程序,程序日志输出中文乱码问题
Running a systemd enabled app container
docker run -d --hostname jenkins.example.com --add-host jenkins.example.com:127.0.0.1 --name jenkins -p 8080:8080 -p 50000:50000 -v /data/jenkins_home:/root/.jenkins -v /data/maven_repository:/data/maven/repository yfshare/jenkins:2.130

docker-compose:

version: '3'
services:
  jenkins:
    image: yfshare/jenkins:2.130
    container_name: jenkins
    ports:
      - 8080:8080
      - 50000:50000
    hostname: jenkins.example.com
    environment:
      JAVA_OPTS: '-Xms1500m -Xmx1500m -XX:MaxPermSize=512m -Djava.awt.headless=true'
    extra_hosts:
      jenkins.example.com: 127.0.0.1
    volumes:
      - /data/docker_mount/jenkins_home:/root/.jenkins
      - /data/docker_mount/maven_repository:/data/maven/repository
      - /etc/localtime:/etc/localtime:ro
    restart: always
访问
docker exec -it jenkins /bin/bash

Tag summary

Content type

Image

Digest

Size

603.9 MB

Last updated

about 8 years ago

docker pull yfshare/jenkins:2.130