An open API service indexing awesome lists of open source software.

https://github.com/stelligent/jenkins-worker-base

Provide a base docker image for jenkins workers
https://github.com/stelligent/jenkins-worker-base

Last synced: 11 months ago
JSON representation

Provide a base docker image for jenkins workers

Awesome Lists containing this project

README

          

# Overview
Provide a base docker image for jenkins workers based on RHEL7

# Create repository in ECR
Run the following to create a new repository in ECR for your new image:

```
aws cloudformation create-stack \
--stack-name jenkins-worker-base-repo \
--template-body file://cfn/repo.template
```

# Login to new repository
Run the following to login to ECR:

```
$(aws ecr get-login)
```

# Create docker image
Run the following to build a new image:

```
docker build -t 324320755747.dkr.ecr.us-west-2.amazonaws.com/jenkins-worker-base .
```

# Push docker image
Run the following to push the image to the ECR repo:

```
docker push 324320755747.dkr.ecr.us-west-2.amazonaws.com/jenkins-worker-base
```

# Credit
* https://github.com/jenkinsci/docker-jnlp-slave
* https://github.com/jenkinsci/docker-slave