title: Jenkins Docker Set Admin Password from Environment Variable
body: <p>I'm trying to create my own Jenkins image that skips the wizard and sets the admin password via an environment variable. </p>
  
  <p>I tried setting the state to disable it (taken from the Mesosphere Jenkins service) but that didn't work:</p>
  
  <pre><code># disable first-run wizard
  RUN echo 2.0 &gt; ${JENKINS_STAGING}/jenkins.install.UpgradeWizard.state
  </code></pre>
  
  <p>How can I skip the wizard and set the admin password via a variable instead of the password being auto-generated?</p>