Sign inSign up

macourteau/docker-jenkins-buildessential

By macourteau

•Updated about 7 hours ago

Docker container with Jenkins, Docker, build-essential and clang.

Image
0

10K+

macourteau/docker-jenkins-buildessential repository overview

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 \

Tag summary

Content type

Image

Digest

sha256:6f8a4e1ae…

Size

812.6 MB

Last updated

about 7 hours ago

docker pull macourteau/docker-jenkins-buildessential