title: Manually installing SonarQube plugins on Docker image
body: <p>I want to create my custom SonarQube docker image, with some plugins already installed, but every time I run my container, the plugins are not there. It's like something removes the plugins from <code>/opt/sonarqube/extensions/plugins</code> and copy the <code>bundled-plugins</code> there.</p>
  
  <p>My Dockerfile</p>
  
  <pre><code>FROM sonarqube
  
  ENV SONARQUBE_HOME /opt/sonarqube
  
  RUN wget "http://downloads.sonarsource.com/plugins/org/codehaus/sonar-plugins/sonar-scm-git-plugin/1.1/sonar-scm-git-plugin-1.1.jar" \
      &amp;&amp; wget "https://github.com/SonarSource/sonar-java/releases/download/3.12-RC2/sonar-java-plugin-3.12-build4634.jar" \
      &amp;&amp; wget "https://github.com/SonarSource/sonar-github/releases/download/1.1-M9/sonar-github-plugin-1.1-SNAPSHOT.jar" \
      &amp;&amp; wget "https://github.com/SonarSource/sonar-auth-github/releases/download/1.0-RC1/sonar-auth-github-plugin-1.0-SNAPSHOT.jar" \
      &amp;&amp; wget "https://github.com/QualInsight/qualinsight-plugins-sonarqube-badges/releases/download/qualinsight-plugins-sonarqube-badges-1.2.1/qualinsight-sonarqube-badges-1.2.1.jar" \
      &amp;&amp; mv *.jar $SONARQUBE_HOME/extensions/plugins \
      &amp;&amp; ls -lah $SONARQUBE_HOME/extensions/plugins
  </code></pre>
  
  <p>I tried listing the folder, and it lists my desired plugins. But if I list the same folder after I started the container, they are gone.</p>
  
  <p>I've also tried removing the <code>bundled-plugins</code> with no luck.</p>
  
  <p>Any ideas?</p>