devcontainers / devcontainers/features

The go feature doesn't appear to work properly with non-root user, can't run "go install <package>" /go/pkg permission denied

Aperta
#744 3 commenti 2 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Shell
Stelle
1.5k
Fork
621
Merge medio
6g 53m
PR unite (30g)
9

Descrizione

I have installed the go devcontainer feature and the common-utils, when I try to install a package in that environment, I then get:

```
+ go install github.com/coreos/updateservicectl@v2.0.0
go: could not create module cache: mkdir /go/pkg: permission denied
```

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.