earthly/earthly
image:VERSION
is the version of the Jenkins runner to install.DOCKER_HOST
to point at a Docker daemon. This can easily be passed through by checking "Expose Docker Host" in the runner template configuration.earthly
misinterprets the Jenkins environment as a terminal. To hide the ANSI color codes, set NO_COLOR
to 1
.ci-examples
repository, and then run (from the root of the repository):earthly
builds using the Docker cloud plugin.*/main
earthly ./jenkins+cleanup
to clean up before trying to run again from scratch.docker
client to access a daemon protected with TLS, you will need to add Jenkins credentials. Add the client key, certificate, and the server CA certificate as a credential. In our example, using the Docker Cloud provider, you can add them by choosing "Manage Jenkins", then "Manage Nodes and Clouds", and finally "Configure Clouds". Then, choose the cloud to configure for TLS, and click the "Add" button here:2375
, which is traditionally the insecure port for a docker
daemon. In a TLS environment, docker
expects port 2376
.earthly-buildkitd
with Jenkins, you should be using mTLS. You will need to add the keys and certificates used there as credentials too.