Sign inSign up

sebp/jenkins

By sebp

Updated almost 11 years ago

Dockerised Jenkins jobs for PHP projects

Image
1

459

sebp/jenkins repository overview

Instructions

Build with:

$ sudo docker build -t sebp/jenkins .

Run with:

$ sudo docker run -p 8080:8080 --name=jenkins --privileged -dit sebp/jenkins .

where:

  • --privileged is used to make a tmpfs mount
  • -d detaches container
  • -i keeps STDIN open even if not attached
  • -t allocates a pseudo-TTY

Attach with:

$ sudo docker attach jenkins

Detach by typing Ctrl-P then Ctrl-Q.

Stop with:

$ sudo docker stop jenkins

Production notes

Adapted from https://github.com/jamtur01/dockerbook-code.

Completed based on http://jenkins-php.org/installation.html.

Tag summary

Content type

Image

Digest

sha256:312b48054

Size

311 MB

Last updated

almost 11 years ago

docker pull sebp/jenkins