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

Build command in Go Runtime devfile fails #1490

Closed
tolusha opened this issue Mar 22, 2024 · 0 comments
Closed

Build command in Go Runtime devfile fails #1490

tolusha opened this issue Mar 22, 2024 · 0 comments
Labels
area/registry Devfile registry for stacks and infrastructure kind/bug Something isn't working

Comments

@tolusha
Copy link

tolusha commented Mar 22, 2024

Which area this feature is related to?

/kind bug

Which area this bug is related to?

/area registry

Bug Summary

Describe the bug:

Build command in Go Runtime devfile fails

$ go build main.go
failed to initialize build cache at /opt/app-root/src/.cache/go-build: mkdir /opt/app-root/src/.cache: permission denied

To Reproduce:

  1. Start a workspace from Go runtime devfile.
  2. Run build command

Expected behavior

Build command successfully completed.

Any logs, error output, screenshots etc? Provide the devfile that sees this bug, if applicable

Additional context

N/A

Any workaround?

export HOME=/home/user

Suggestion on how to fix the bug

N/A

@openshift-ci openshift-ci bot added kind/bug Something isn't working area/registry Devfile registry for stacks and infrastructure labels Mar 22, 2024
@tolusha tolusha closed this as completed Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/registry Devfile registry for stacks and infrastructure kind/bug Something isn't working
Projects
Status: Done ✅
Development

No branches or pull requests

1 participant