docker-sonarqube
docker-sonarqube copied to clipboard
assets/init: no such file or directory
Hi, while running sudo docker build --tag="$USER/sonarqube" . I get the following error: assets/init: no such file or directory
Do you know why ?
I just did a fresh checkout and it works without issues:
git clone https://github.com/harbur/docker-sonarqube.git
cd docker-sonarqube
docker build --tag="$USER/sonarqube" .
you should have an assets/init
file if you have a fresh checkout. The message you receive is that the file is not there. Can you check if you have the file?
btw, you I prefer to use captain with captain build
instead of cumbersome docker build commands.
Hi Spiddy, really really thanks for your answer. No I do not get the asset/init unfortunately. Is that part of Sonar itself ? Is it working for you ?
Thanks
Happy to help.
Yes, it's working ok for me. The file is a bash script that is included in the sonarqube container during build process.
You should check why you're missing the file. Alternatively just do a fresh checkout
On Wed, May 6, 2015, 9:54 PM Luca [email protected] wrote:
Hi Spiddy, really really thanks for your answer. No I do not get the asset/init unfortunately. Is that part of Sonar itself ? Is it working for you ?
Thanks
— Reply to this email directly or view it on GitHub https://github.com/harbur/docker-sonarqube/issues/8#issuecomment-99586249 .
I think there is a small mistake a t the beginning of the docker file, at least for me. I had to change the first line to:
FROM library/java
Also, because I will need an ad-hoc sonar configuration, do you know how can I persist the change in the container and export them ?
Thanks