COPYinstructions in the Dockerfile is always executed as root, unless you add the flag
COPY --chown=jenkins:jenkins ./plugins.txt /usr/share/jenkins/ref/plugins.txt
jenkins.shor one of its sub-scripts
All new files and directories are created with a UID and GID of 0, unless the optional --chown flag specifies a given username, groupname, or UID/GID combination to request specific ownership of the copied content
@kenrachynski:matrix.org we discussed arm64 further in last week's platform SIG meeting. If you're interested in helping, we're very interested in having the help. Were you looking for an arm64 image for the controller or an arm64 image for an agent or both? Are you running arm64 in a Kubernetes cluster environment ?
Yes, the tutorials (Maven, NodeJS, and Python) take shortcuts to reduce steps and increase the chances of success for the person running the tutorial. The shortcuts include:
We still have too many readers that are unable to successfully complete the tutorials, even with shortcuts. Happy to have additions and improvements.
@MarkEWaite: Thank you for the update. I'll try to pay more attention to the platform meetings from now on.
In this particular case, I was only looking for an agent, but I'm likely to want controller as well in the future. I am not running Kubernetes yet as I'm prototyping pure Docker solutions for home and work labs. I do expect to get to k8s eventually, though.