BCDevOps / sonarqube

An OpenShift-focused Docker build of Sonarqube
GNU Lesser General Public License v3.0
2 stars 33 forks source link

Update Dockerfile #28

Closed tn340bv closed 3 years ago

tn340bv commented 3 years ago

update with curl command

WadeBarnes commented 3 years ago

Why do you need curl installed in the image?

tn340bv commented 3 years ago

While creating the docker image it failed because of curl command not found.

From: Wade Barnes notifications@github.com Sent: Wednesday, September 16, 2020 1:39 PM To: BCDevOps/sonarqube sonarqube@noreply.github.com Cc: Pavan Chappidi Pavan.Chappidi@tn.gov; Author author@noreply.github.com Subject: [EXTERNAL] Re: [BCDevOps/sonarqube] Update Dockerfile (#28)

Why do you need curl installed in the image?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/BCDevOps/sonarqube/pull/28*issuecomment-693587960__;Iw!!PRtDf9A!8nXBQ2HCJ-fLls1s8OnAwPYFz9tINtDq6yNCUb5TR3fJV1YKhNCLMz_-KqXpnw7CoWYR$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/AQTKPDHDQSMDELOPLFCJCEDSGEA5RANCNFSM4RPF3PIA__;!!PRtDf9A!8nXBQ2HCJ-fLls1s8OnAwPYFz9tINtDq6yNCUb5TR3fJV1YKhNCLMz_-KqXpn8oXM1P2$.

tn340bv commented 3 years ago

Hi Wade,

After deploying in the OpenShift. I’m facing the issue its not creating the persistenvolume. Do we need to do anything additional steps .

Generated from persistentvolume-controller storageclass.storage.k8s.io "netapp-file-standard" not found

Thanks Pavan

From: Wade Barnes notifications@github.com Sent: Wednesday, September 16, 2020 1:39 PM To: BCDevOps/sonarqube sonarqube@noreply.github.com Cc: Pavan Chappidi Pavan.Chappidi@tn.gov; Author author@noreply.github.com Subject: [EXTERNAL] Re: [BCDevOps/sonarqube] Update Dockerfile (#28)

Why do you need curl installed in the image?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/BCDevOps/sonarqube/pull/28*issuecomment-693587960__;Iw!!PRtDf9A!8nXBQ2HCJ-fLls1s8OnAwPYFz9tINtDq6yNCUb5TR3fJV1YKhNCLMz_-KqXpnw7CoWYR$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/AQTKPDHDQSMDELOPLFCJCEDSGEA5RANCNFSM4RPF3PIA__;!!PRtDf9A!8nXBQ2HCJ-fLls1s8OnAwPYFz9tINtDq6yNCUb5TR3fJV1YKhNCLMz_-KqXpn8oXM1P2$.

WadeBarnes commented 3 years ago

It's likely due to the fact that the netapp-file-standard storage class may not be available on your OpenShift cluster. The configurations were turned to BC Gov clusters. You can try setting the *_PERSISTENT_VOLUME_CLASS parameters to a storage class that is available on your cluster. Or set the parameters to a blank string to use the default class. Another option is to remove the storageClassName lines from your copy of the temple altogether.