Comments (5)
Looking into this.
from cimg-go.
@asdwsda It's looking to me that GOPATH
is deprecated as of Go v1.13.
The biggest use I still see for it is when go get
installing binaries, which not only should be used less and less, but shouldn't be a CI activity in my opinion.
Can you explain your use-case here?
from cimg-go.
You are right, GOPATH
is deprecated in Go v1.13. However this repo contains v1.12 and v1.11 as well. What about these versions?
I agree with you. Installing binaries shouldn't be a CI activity, but sometimes I need to do it. I think it is expected to be able to use go get
and installed bins in such containers.
What do you think about setting GOBIN instead of GOPATH
?
GOBIN
The directory where 'go install' will install a command.
from cimg-go.
GOBIN
might be viable. Looking into this and will decide on something soon.
from cimg-go.
@asdwsda I did some testing.
- go get will assume a
GOPATH
for you when installing a binary if one isn't set. That being said, the resulting location still wasn't inPATH
so not really useful. GOBIN
was a good idea and would work. While doing some testing, it felt like a half-measure to just properly fixingGOPATH
so I just did that instead.- PR #29 will make
GOPATH
andPATH
work for Go binaries.
from cimg-go.
Related Issues (20)
- Please create go1.17.7 image HOT 5
- Permission denied error with cimg/go:1.16, cimg/go:1.16-browsers, cimg/go:1.17 HOT 2
- Go patch 0 releases don't get generated correctly
- Golangci-lint support for Go 1.18 HOT 2
- OpenSSL CVE in the Go images HOT 1
- Update Config to use cimg-orb
- [1.17] Unpinned minor version breaking pipeline HOT 3
- Add Go 1.17.12 and Go 1.18.4 releases HOT 2
- go1.18.5 is out HOT 1
- golangci-lint error in cimg-go:1.19 HOT 2
- point releases are out HOT 2
- go 1.19.5 and 1.18.10 are out HOT 1
- Go 1.20 was released... HOT 2
- Please update golangci-lint version for go 1.20
- Update `golangci-lint` version to 1.51.2 HOT 1
- go1.20.2 release
- go1.19.8/go1.20.3 are out HOT 1
- Feature Request: Govulncheck
- Feature Request: go.1.21.1 HOT 1
- Dependency Dashboard
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cimg-go.