Skip to content
This repository has been archived by the owner on Dec 2, 2022. It is now read-only.

distilledmedia/docker-jenkins-slave-nodejs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Supported tags and respective Dockerfile links

Introduction

Dockerfile to build a Jenkins-slave container image. Use it with Jenkins Docker Plugin or to create a Jenkins slave including NodeJS.

How to use this image

This image provides access via SSH for user "jenkins". Using Jenkins Docker Plugin, there is no need to start this image by your self.

If you want to use it without Jenkins Docker Plugin create a container using:

docker run --name my-jenkins-slave pcvolkmer/jenkins-slave-nodejs

Additional usage for GitLab CI

This image can be used within GitLab CI providing OpenJDK 8 and node environment.

This example .gitlab-ci.yml-file describes a simple gradle based build:

build:
  image: pcvolkmer/jenkins-slave-nodejs:8.9
script:
  - ./gradlew build
...

By replacing or adding scripts, it is possible to use npm and, after installing it via .gitlab-ci.yml-file, bower, gulp and so on.

Packages installed

Based on official Node Docker image, this image contains OpenJDK 8 (to run Jenkins slave), Git, OpenSSH and a user named "jenkins" with password "jenkins".

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dockerfile 100.0%