Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

assets/init: no such file or directory #8

Open
Sinapse87 opened this issue May 6, 2015 · 5 comments
Open

assets/init: no such file or directory #8

Sinapse87 opened this issue May 6, 2015 · 5 comments

Comments

@Sinapse87
Copy link

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 ?

@dkapanidis
Copy link
Member

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?

@dkapanidis
Copy link
Member

btw, you I prefer to use captain with captain build instead of cumbersome docker build commands.

@Sinapse87
Copy link
Author

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

@dkapanidis
Copy link
Member

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
#8 (comment)
.

@Sinapse87
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants