Commit Graph

1 Commits (8b3725f8dc186137eee2313aeedbd5554b0dc6d6)

Author SHA1 Message Date
Dustin a65ab04155 Integrate changes from various other images
ContainerImages/jenkins-base/pipeline/head This commit looks good Details
I've created a few container images for Jenkins jobs over the past few
weeks, and many of them have several steps in common.  Moving those
steps to the *jenkins-base* image will simplify the rest and make it
easier to create new ones.

* Use UID 1000 for the *jenkins* user, since this is the UID the Jenkins
  agent JNLP container uses
* Configure the SSH client `KnownHostsCommand` setting to fetch the SSH
  host key database from the file server
* Run as the unprivileged user
* Add a "sleep forever" type entry point: Python's `signal.pause()`
  waits for a signal from the operating system, where as other solutions
  are either uninterruptable (`sleep infinity`) or wake frequently
  (`tail -f /dev/null`)
2022-12-03 09:34:22 -06:00