newtmitch / docker-sonar-scanner

Quick sonar scanner docker image
MIT License
129 stars 88 forks source link

Incorrect workdir in 3.3.0 Alpine image #28

Closed theoutsider24 closed 5 years ago

theoutsider24 commented 5 years ago

Dockerfile.sonarscanner-3.3.0-alpine still has "WORKDIR /root", should've been changed to "WORKDIR /src" as part of pull request #27

newtmitch commented 5 years ago

Thanks, good catch. I've updated the Dockerfile and am testing now. In fact, you bring up another good point, which is the WORKDIR variable should actually be /usr/src to match with the projectBaseDir setting in the CMD at the end. Thanks for picking that up.