You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 14, 2022. It is now read-only.
Using current docker image circleci/golang:1 we've this setup:
circleci@34bf5a878789:~$ id
uid=3434(circleci) gid=3434(circleci) groups=3434(circleci)
circleci@34bf5a878789:~$ go env GOPATH
/go
circleci@34bf5a878789:~$ ls -al $(go env GOPATH)
total 20
drwxrwxrwx 6 root root 4096 Nov 13 15:45 .
drwxr-xr-x 83 root root 4096 Nov 13 15:45 ..
drwxrwxrwx 2 root root 4096 Nov 2 23:50 bin
drwxr-xr-x 3 circleci circleci 4096 Nov 13 15:39 pkg
drwxrwxrwx 2 root root 4096 Nov 2 23:50 src
circleci@34bf5a878789:~$ echo $PATH
/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
Such default $PATH makes it inconvenient to let goreleaser to install to ~/bin, but when I run goreleaser script with -b $(go env GOPATH)/bin option it executes install -d /go/bin, which fails while trying to fchmod it:
circleci@34bf5a878789:~$ install -d /go/bin
install: cannot change permissions of ‘/go/bin’: Operation not permitted
Looks like goreleaser should be fixed to avoid needless install -d in case directory already exists and writable.
The text was updated successfully, but these errors were encountered:
Using current docker image
circleci/golang:1
we've this setup:Such default
$PATH
makes it inconvenient to let goreleaser to install to~/bin
, but when I run goreleaser script with-b $(go env GOPATH)/bin
option it executesinstall -d /go/bin
, which fails while trying to fchmod it:Looks like goreleaser should be fixed to avoid needless
install -d
in case directory already exists and writable.The text was updated successfully, but these errors were encountered: