Skip to content

macourteau/docker-jenkins-buildessential

Repository files navigation

Build status Docker pulls Docker image size

Docker container with Jenkins, Docker, build-essential and more

Docker Hub

Includes:

Running

Run like this:

docker run \
    -p 8080:8080 \
    -p 50000:50000 \
    --env JAVA_OPTS=-Dhudson.footerURL=http://mycompany.com \
    -v jenkins_home:/var/jenkins_home \
    -v /var/run/docker.sock:/var/run/docker.sock \
    macourteau/docker-jenkins-buildessential:latest

See the Jenkins docs for more information about the parameters to pass to docker.

It is important to pass the /var/run/docker.sock volume mount from the host to the container, to use the daemon from the host instead of running a Docker daemon inside this container.

Using amazon-ecr-credential-helper

Create a credentials file in the aws directory (see credentials.sample), create a config.json file in the docker directory (see config.json.sample), and add volume mounts:

    -v $(pwd)/aws:/root/.aws \
    -v $(pwd)/docker:/root/.docker \

About

Docker container with Jenkins, Docker and build-essential and more

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published