Comments (8)
What feature are you missing/wanting?
from golang-container.
For starters
-
it should support package managers. I've raised #19 to add support for dep.
-
I also found the
IMPORT_URL
andINSTALL_URL
confusing. I still don't know why do I need those. Maybe we should update the docs? -
The script didn't work for me when I tried it. See #18
Not sure what went wrong.
from golang-container.
@jarifibrahim I'm generally against pulling in dependencies(yet more tools) via go get/wget/... in to the base image as it is not reproducible and most importantly are incompatible with distro infras/guidelines/philosophy, so it is no go. I think that you would be better of with your own layered image for this or you will need to package those tools for distributions that you are interested in(and we will pull them in via yum or dnf). AFAIK dep is dead and has been replaced with Go modules(which we should support as it is part of the base toolset from go1.11). I want to look in to the modules support, but I haven't go time for that yet.
What is not clear? In generally(in addition to what is written in the README) those are needed as there is/were no canonical repo layout for Go package(in same way as for C/C++ project). And many are using complex build scripts.
I will investigate.
Closing this as you have opened issues that are actually actionable and concrete.
from golang-container.
I think that you would be better of with your own layered image for this
Do you mean using a different builder image than go-toolset-7-centos7
?
from golang-container.
I think that you would be better of with your own layered image for this
Do you mean using a different builder image than
go-toolset-7-centos7
?
No, that you will create your own builder image FROM go-toolset-7-centos7
and you will add and override what you will need(install dep, use your own assemble/build script,...). Image from this repo aim on providing only things that could be supported(whatever that means) by the respective distros, i.e. are not randomly pulled from internet.
from golang-container.
Image from this repo aim on providing only things that could be supported(whatever that means) by the respective distros, i.e. are not randomly pulled from internet.
This makes sense. Thank you :)
Can you please add the same comment on #19 and close it?
from golang-container.
AFAIK dep is dead and has been replaced with Go modules
dep
is still used heavily in a lot of projects, and adding support for it will make this builder image useful.
from golang-container.
@sbose78 I'm not saying that it is not useful or that it is not used but projects, but they should be moving in direction of modules(and their best practices) and provide feedback in upstream. I will definitively investigate it(for Fedora image as we do carry it there).
from golang-container.
Related Issues (17)
- Build fails if no .go files located at root HOT 3
- Docker hub has only Go 1.10 image HOT 3
- Build fails for golang-starters/golang-rest-http HOT 3
- Support for tags for each minor version of go HOT 4
- Builder image doesn't work out of the box HOT 8
- Golang version tags in image HOT 3
- Error while starting container HOT 1
- Add golang 1.16 image
- Hardcoded point releases in imagestreams.json
- Add golang 1.18 image HOT 1
- Testing issue created for samples operator HOT 1
- Support for non-standard go build path HOT 1
- container does not start properly in OpenShift HOT 11
- No Action Required !! Testing automation workflow HOT 1
- go-toolset-7-golang updated to 1.10
- Support vendor dir in IMPORT_URL location
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 golang-container.