Giter Club home page Giter Club logo

Comments (3)

jarifibrahim avatar jarifibrahim commented on July 21, 2024

@jcajka Any ideas why this might have failed?

from golang-container.

sbose78 avatar sbose78 commented on July 21, 2024

Interesting I could get this running

s2i build -e IMPORT_URL='github.com/golang-starters/golang-rest-http' . centos/go-toolset-7-centos7:latest test-app
/tmp/src ~
~
Assembling GOPATH
Resolving dependencies
~/go/src/github.com/golang-starters/golang-rest-http ~
~
~/go/src/github.com/golang-starters/golang-rest-http ~
Building
~
Build completed successfully

and then did a

 docker run -t test-app
{"level":"info","msg":"Running as user name 'default' with UID 1001.","pkg":"main","time":"2018-11-28 19:29:48","username":"default","uuid":"1001"}
{"gid":"0","groupname":"root","level":"info","msg":"Running as as group 'root' with GID 0.","pkg":"main","time":"2018-11-28 19:29:48"}
{"level":"info","msg":"metrics registered successfully","pkg":"metric","time":"2018-11-28 19:29:48"}
{"action":"Show","ctrl":"Status","level":"info","msg":"mount","route":"GET /api/status","time":"2018-11-28 19:29:48"}
{"level":"info","msg":"Git Commit SHA:  0","time":"2018-11-28 19:29:48"}
{"level":"info","msg":"UTC Build Time:  0","time":"2018-11-28 19:29:48"}
{"level":"info","msg":"UTC Start Time:  2018-11-28T19:29:48Z","time":"2018-11-28 19:29:48"}
{"level":"info","msg":"GOMAXPROCS:      4","time":"2018-11-28 19:29:48"}
{"level":"info","msg":"NumCPU:          4","time":"2018-11-28 19:29:48"}

So, we might not really need the dep ?

from golang-container.

jarifibrahim avatar jarifibrahim commented on July 21, 2024

I tried it again and strangely it worked. I'm closing this issue 😅

So, we might not really need the dep ?

Depends on the project. The go get command worked for golang-rest-http project but doesn't work for all projects (eg: fabric8-auth).

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.