Sign inSign up

ancorasoftware/jenkins

By ancorasoftware

•Updated almost 6 years ago

Customized jenkins/jenkins image used by Ancora DevOps

Image
0

280

ancorasoftware/jenkins repository overview

⁠Ancora Jenkins: ancorasoftware/jenkins

Docker Image Version (latest semver)

This is a customized jenkins/jenkins image⁠ with select plugins preinstalled and parameterized configuration.

⁠Features

This image provides the following features:

⁠Using this image

This image can be launched as follows:

docker run --name <your-container-name> -d -p 8081:8081 -e LDAP_ENABLED=false ancorasoftware/nexus:VERSION
⁠Volumes

This image stores all data, including plugins and configuration, in the /var/jenkins_home directory. That should be made an explicit volume so that it can be managed and attached to another container for backup and upgrades:

docker run --name <your-container-name> -d -v $(pwd)/jenkins-data:/var/jenkins_home -p 8080:8080 -p 50000:50000 ancorasoftware/jenkins:VERSION
⁠Configuration

All configuration is specified through environment variables, unless otherwise noted. The exception to this policy is credentials/secrets which are always specified as volume mounts in accordance with best practices⁠.

This image supports the following environment variables:

VariableDefault valueDescription
ADMIN_EMAILnoneAdmin email address
JENKINS_OPTS--prefix=/ -Djenkins.install.runSetupWizard=falseJenkins startup options
KUBERNETES_CLOUD_NAMEkubernetesEnable Kubernetes Plugin autoconfiguration
KUBERNETES_ENABLEDtrueEnable Kubernetes Plugin autoconfiguration
KUBERNETES_JENKINS_URLhttp://jenkins/Jenkins URL to be used by agents launched by this cloud. Must end in a trailing slash.
LDAP_DISABLE_MAIL_ADDRESS_RESOLVERfalseDisable the email address resolver
LDAP_DISPLAY_NAME_ATTRIBUTE_NAMEcnLDAP object field used as display name
LDAP_ENABLEDtrueEnable LDAP autoconfiguration
LDAP_GROUP_MEMBERSHIP_FILTERnoneFilter to use when querying user membership in a group
LDAP_GROUP_NAME_ADMINadministratorsLDAP admin group
LDAP_GROUP_SEARCH_FILTERnoneFilter to use when querying for groups
LDAP_INHIBIT_INFER_ROOTDNfalseIndicates if the LDAP root DN should be infered
LDAP_ROOTDNnoneLDAP root DN
LDAP_SERVERldap:389LDAP host and port
PLUGINS_FORCE_UPGRADEfalseForce upgrades of plugins that have been manually upgraded
RBAC_ENABLEDtrueEnable Role-Based Access Control
ROOT_URLnoneBase URL to jenkins instance
SECRETS_DIR/run/secretsDirectory path to volume secrets

⁠License

Please view license information⁠ for the software contained on this image.

⁠Acknowledgments

This image was heavily inspired by the Accenture/adop-jenkins⁠ image.

Tag summary

Content type

Image

Digest

Size

492.3 MB

Last updated

almost 6 years ago

docker pull ancorasoftware/jenkins