-
Notifications
You must be signed in to change notification settings - Fork 41
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
Use better assemble script #17
Comments
What feature are you missing/wanting? |
For starters
|
@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. |
Do you mean using a different builder image than |
No, that you will create your own builder image |
This makes sense. Thank you :) Can you please add the same comment on #19 and close it? |
|
@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). |
The assemble script used currently supports very limited features. We should improve the assemble script and build something similar to https://github.com/amsokol/openshift-golang-template/blob/master/S2I/.s2i/bin/assemble
The text was updated successfully, but these errors were encountered: