Giter Club home page Giter Club logo

Comments (8)

jcajka avatar jcajka commented on June 22, 2024

What feature are you missing/wanting?

from golang-container.

jarifibrahim avatar jarifibrahim commented on June 22, 2024

For starters

  • it should support package managers. I've raised #19 to add support for dep.

  • I also found the IMPORT_URL and INSTALL_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.

jcajka avatar jcajka commented on June 22, 2024

@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.

jarifibrahim avatar jarifibrahim commented on June 22, 2024

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.

jcajka avatar jcajka commented on June 22, 2024

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.

jarifibrahim avatar jarifibrahim commented on June 22, 2024

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.

sbose78 avatar sbose78 commented on June 22, 2024

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.

jcajka avatar jcajka commented on June 22, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.