docker-sonarqube | Dockerized SonarQube web server | Continuous Deployment library

 by   harbur Shell Version: v5.1 License: MIT

kandi X-RAY | docker-sonarqube Summary

kandi X-RAY | docker-sonarqube Summary

docker-sonarqube is a Shell library typically used in Devops, Continuous Deployment, Jenkin, Docker applications. docker-sonarqube has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

Dockerfile to build a SonarQube container image.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              docker-sonarqube has a low active ecosystem.
              It has 80 star(s) with 51 fork(s). There are 8 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 10 open issues and 4 have been closed. On average issues are closed in 2 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of docker-sonarqube is v5.1

            kandi-Quality Quality

              docker-sonarqube has no bugs reported.

            kandi-Security Security

              docker-sonarqube has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              docker-sonarqube is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              docker-sonarqube releases are available to install and integrate.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of docker-sonarqube
            Get all kandi verified functions for this library.

            docker-sonarqube Key Features

            No Key Features are available at this moment for docker-sonarqube.

            docker-sonarqube Examples and Code Snippets

            No Code Snippets are available at this moment for docker-sonarqube.

            Community Discussions

            QUESTION

            How to add node.js to this docker-compose file that spins up SonarQube?
            Asked 2019-Dec-18 at 18:11

            I've installed a local SonarQube server in Docker on my machine, using this docker-compose.yml based on this recipe. It spins up a Postgres database backend as well as SonarQube itself.

            When I run analysis of a Java project through Maven, it analyzes everything except my project's JS and CSS. I get these warnings:

            ...

            ANSWER

            Answered 2019-Dec-18 at 18:11
            1. At the same level as your compose file, create a Dockerfile

            Source https://stackoverflow.com/questions/59397407

            QUESTION

            Sonarqube docker container fails to restart, offline
            Asked 2018-Feb-12 at 18:45

            Background: I have a system behind a proxy/firewall. I can access docker to pull images, but do not have a username/password to access any other sites. Therefore my docker container of sonarqube is essentially offline.

            Question: The docker container starts fine the first time, but fails to restart. This happens in two instances, either a manually installed plugin presents an error that it fails to download the update-center url, or it simply starts shutting down immediately as it starts. Both fail the application which closes the container. I do not seem to be able (or understand how to) modify the sonar.properties to get the update-center disabled and need guidance.

            I have inquired on the github for the container without much help: https://github.com/SonarSource/docker-sonarqube/issues/76#issuecomment-364563967 The '-Dsonar.updatecenter.activate=false' option does not work when I try it.

            Simply shutting down

            ...

            ANSWER

            Answered 2018-Feb-12 at 18:45

            Regarding the README.txt issue, you have to create a volume and mount the temp folder (note that I use the postgres setup from anorak:girl). You can then start and stop with no problems.

            Source https://stackoverflow.com/questions/48714618

            QUESTION

            Dockerfile: Is my placement of EXPOSE correct?
            Asked 2017-Jul-25 at 02:15

            I'm stumped by a question I received when working on an opensource Dockerfile, which boils down to, "why did you change the layers?" - so I'm trying to answer that with my own investigation.

            I apologize that the subject is not well defined, but essentially it's about how docker layers relate to the docker-cache.

            So I'm looking for an elegant explanation in an area which isn't well documented.

            My changes from the original Dockerfile where to separate ENV into different layers, move a COPY earlier, and to expose the port later.

            The original (simplified):

            ...

            ANSWER

            Answered 2017-Jul-25 at 02:15

            While this question has some heavily opinionated possible answers, I'll attempt to keep to facts and other things sourced from docker's docs on this

            Proper layering of layers in docker has essentially three goals (roughly ordered):

            1. correctness: some things need to be combined / ordered for correctness (for example apt operations should always start with apt-get update && ... and apt-get update should never be in a separate RUN layer
            2. minimize layers: fewer layers generally means better performance both for build and runtime. This generally means combining layers when possible
            3. cache performance: push cacheable layers as high up in the file as possible, note that if a layer is invalidated all layers after that layer are also invalidated

            Given that, here's some observations from the things you've proposed:

            separating ENV layers

            Given (2) above, you should keep ENV layers combined when possible. Users can override --env at runtime which does not affect build-time layering. Yes if one of the ENV lines were modified in source it would invalidate the rest of the file (3) but generally this is traded off for performance reasons.

            moving COPY up

            generally this is not a good idea, the source on disk is among the most likely things to change, if the source changes, all the layers from the COPY layer downwards are invalidated

            moving EXPOSE

            This really doesn't matter. EXPOSE is a nearly-trivial layer (it in fact does nothing unless you're linking containers). Since it is cacheable, I'd put it near the top but again, it's trivial to compute and doesn't really change.

            summary

            tl;dr The maintainer is correct in saying no to all three changes as it will make build and run performance worse.

            Source https://stackoverflow.com/questions/45291314

            QUESTION

            Add external plugin to sonarqube
            Asked 2017-Jan-03 at 09:58

            I'm running sonarqube in a docker container using this compose docker file: docker-compose

            I want to add an external plugin (jar file). I couldn't manage to do so. Any ideas?

            ...

            ANSWER

            Answered 2017-Jan-03 at 09:58

            Just copy your jars to your local folder "sonarqube_extensions/plugins" which should exist next to your docker-compose.yml file and they will be linked into your container according to your referenced docker-compose.yml file.

            Old answer

            You can modify your existing docker-compose.yml file. Assuming your jar files are located in a folder named "external_jars" next to the compose file and you want these jars to be available inside the container under, for example, /opt/sonarqube/external_jars (I am not familiar with sonarQube and I do not know how the correct structure should look like). Then you can add one line to this excerpt of your compose file:

            Source https://stackoverflow.com/questions/41440090

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install docker-sonarqube

            Pull the image from the docker index. This is the recommended method of installation as it is easier to update image in the future. These builds are performed by the Trusted Build service. The image builds are being tagged. You can pull a particular version of SonarQube by specifying the version number. For example,. Alternately you can build the image yourself if you run 5.6.
            Run the SonarQube with Docker Compose. Docker Compose uses a docker-compose.yml file that describes the environment. NOTE: It will build Sonar 5.6 container. If you want to run pre build 5.1, please edit the docker-compose.yml accordingly. NOTE: Please allow a minute or two for the SonarQube application to start.
            username: admin
            password: admin

            Support

            If you have any issues you can report them on the issues page.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/harbur/docker-sonarqube.git

          • CLI

            gh repo clone harbur/docker-sonarqube

          • sshUrl

            git@github.com:harbur/docker-sonarqube.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link