0
1
I was looking at this wiki article: https://wiki.jenkins.io/pages/viewpage.action?pageId=135468777
it says to use these options:
--httpPort=-1 (to stop Jenkins from listening over plain HTTP)
--httpsPort=443 (or 8443 or whatever SSL port you want Jenkins to listen on)
--httpsKeyStore="%JENKINS_HOME%\jenkins.example.com.jks"
--httpsKeyStorePassword="<cleartext-password-to-keystore>"
but if I have a Dockerfile that pulls from a jenkins image like so:
FROM jenkins/jenkins:lts
then how can I add those command line arguments to the executable?
Can you do it using CMD
? Or would you do it like so:
docker run --rm jenkins --httpPort=-1 etc etc
it would be nice to put the arguments in CMD
or something that goes in version control.