Alpine Linux based Jenkins container with BlueOcean plugin and docker command.
237
dokcer and docker-compose command.This image is created based on jenkins:alpine. Please details and options see jenkins:alpine.
docker pull ringo/jenkins
docker run --rm \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /var/lib/jenkins:/var/jenkins_home \
-p 8080:8080 -p 50000:50000 \
--name jenkins -d -u root ringo/jenkins
docker build -t ringo/jenkins .
Share /var/run/docker.sock file between host and container.


#!groovy
pipeline {
agent {docker 'ringo/sbt'}
stages {
stage('lint') {
steps {
sh 'echo "Execute scalastyle check"'
}
}
stage('outdated') {
steps {
sh 'echo "Check library outdated"'
}
}
stage('test') {
steps {
sh 'echo "Run test and covarage"'
}
}
stage('release') {
steps {
sh 'echo "Release"'
}
}
}
}
Content type
Image
Digest
Size
257.9 MB
Last updated
about 9 years ago
docker pull ringo/jenkins