Comments (3)
@jcajka Any ideas why this might have failed?
from golang-container.
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.
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)
- Build fails if no .go files located at root HOT 3
- Docker hub has only Go 1.10 image HOT 3
- Use better assemble script HOT 8
- 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.