Status: Closed (View Workflow)
I am trying to setup a Dockerfile for our Jenkins server. Here is my dockerfile: https://github.com/mtscout6/jenkins-docker/blob/master/jenkins-server/Dockerfile
The problem I have is that the latest Docker plugin relies on ssh-slaves 1.8 and ssh-credentials 1.9. The jenkins war file is currently housing ssh-slaves 1.7 and ssh-credentials 1.8, when I tried adding those plugins to the war file they are replaced, but now I get a SHA-256 digest error. I'm sure this is because the checksum is now invalid as found in the META-INF/MANIFEST.MF file.
I tried using the jar -uf command to update those plugins, also to no avail. What do I need to do to update these plugins so my docker container is ready to run right out of the gate?
Here is the docker log output when running the docker container for the image defined by the above docker file: https://gist.github.com/mtscout6/a31298e1dcc5acf5863c.
- is related to
JENKINS-24986 Offer an alternate location to store plugins and groovy hook scripts
Why not just delete the signatures from the WAR file, or resign with your own key? Then you will not get a checksum mismatch. The signature is not really checked by anything that I know of anyway.
Are these the right files to delete to "unsign" it?
zip -d /usr/share/jenkins/jenkins.war META-INF/JENKINS.SF
zip -d /usr/share/jenkins/jenkins.war META-INF/JENKINS.RSA
That did not appear to work, but I may have the wrong files.
Yes, those, plus the file entries (with Name and SHA-256-Digest) in META-INF/MANIFEST.MF.
Fair enough I'll buy that