Comments (9)
Does not seem like imagebuilder has been ported to non linux platforms. What do you plan on doing with it?
from imagebuilder.
@rhatdan You are running into the same issue?
When I was investigating this I seemed to me that it might be relevant to versioning of golang.org/x/sys
library...
from imagebuilder.
@rhatdan You are running into the same issue?
When I was investigating this I seemed to me that it might be relevant to versioning ofgolang.org/x/sys
library...
This does look like a build error that would be fixed by pulling in a newer golang.org/x/sys
package than we're using now.
from imagebuilder.
I do not think switching to go1.10
helps. I installed gvm
and go1.10
via it and here is what I can see now:
$ gvm list
gvm gos (installed)
=> go1.10
system
$ cd $GOPATH && pwd
/Users/lvlcek/.gvm/pkgsets/go1.10/global
$ go get github.com/openshift/imagebuilder
# github.com/openshift/imagebuilder/vendor/github.com/fsouza/go-dockerclient/internal/archive
src/github.com/openshift/imagebuilder/vendor/github.com/fsouza/go-dockerclient/internal/archive/archive_unix.go:71:25: undefined: unix.Major
src/github.com/openshift/imagebuilder/vendor/github.com/fsouza/go-dockerclient/internal/archive/archive_unix.go:72:25: undefined: unix.Minor
After I manually removed the vendor
folder and installed required deps manually (go get ...) I am getting the same, except it is looking for the deps in go1.10 specific location:
$ make build
go build ./cmd/imagebuilder
# github.com/openshift/imagebuilder/vendor/github.com/fsouza/go-dockerclient/internal/archive
../../.gvm/pkgsets/go1.10/global/src/github.com/openshift/imagebuilder/vendor/github.com/fsouza/go-dockerclient/internal/archive/archive_unix.go:71:25: undefined: unix.Major
../../.gvm/pkgsets/go1.10/global/src/github.com/openshift/imagebuilder/vendor/github.com/fsouza/go-dockerclient/internal/archive/archive_unix.go:72:25: undefined: unix.Minor
make: *** [build] Error 2
from imagebuilder.
Any luck with this? I get the same thing. @lukas-vlcek Are you using Mojave? It worked for me in High Sierra. Now Im in Mojave and installation failing.
from imagebuilder.
@wjs9715 unfortunately no improvement on my side. I am on Mojave 10.14.2 (18C54). At this moment I am running this code from Fedora 28 and then it works.
from imagebuilder.
I've also run into this and worked around with brute force dep ensure -update
. However, I don't know how safe that is since it's a wide brush. make test
returns true, but I'm not familiar with this project well enough to know if that is sufficient.
from imagebuilder.
I think the just-merged #122 pulled in the fix for this.
from imagebuilder.
I can no longer replicate this when using:
$ gvm list
gvm gos (installed)
go1.10
=> go1.11.13
system
$ cd $GOPATH/src/github.com/openshift/
$ ls -la | grep imagebuilder
$ go get -u github.com/openshift/imagebuilder/cmd/imagebuilder
$ ls -la | grep imagebuilder
drwxr-xr-x 27 lvlcek staff 864 Jan 22 13:25 imagebuilder
$ imagebuilder -version
1.1-dev
Seems like it has been fixed.
from imagebuilder.
Related Issues (20)
- TestDispatchArgDefaultBuiltins is failing on arm/v8 HOT 4
- Regression in ENV expansion HOT 2
- COPY does not handle empty arguments well HOT 3
- Multi-stage Quarkus GraalVM builds do not produce runnable images HOT 5
- COPY --chown does not work right
- ADD should unpack archives HOT 5
- go install github.com/openshift/imagebuilder/cmd/[email protected] failed HOT 2
- Imagebuilder gets stuck while copying content between stages with --chown for a user with specific UID HOT 2
- Does imagebuilder support concurrent building? HOT 5
- issue in COPY from one stage to next HOT 8
- ENV does not inherit through multiple layers
- [Feature] Add --keep-ownership option to add/copy commands to keep file ownership. HOT 4
- dockerclient quietly ignores the --chmod flag for ADD/COPY HOT 3
- COPY tarball treats destination as directory
- Imagebuilder expands `ARGS` which are not declared HOT 3
- BUG: labels following missing line-continuation character are ignored HOT 7
- LCOWSupported method is not available in newer docker libs HOT 4
- Build image failed without docker HOT 5
- TestDispatchFromFlagsAndUseBuiltInArgs fails on arm HOT 4
- Generic way to build the first stage
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 imagebuilder.