Giter VIP home page Giter VIP logo

Comments (6)

kgrvamsi avatar kgrvamsi commented on May 16, 2024

Can you send the output log of the build issue you got?

from runc.

hqhq avatar hqhq commented on May 16, 2024

I got:

$ make
go build -o runc .
# github.com/opencontainers/runc/libcontainer/seccomp
libcontainer/seccomp/seccomp.go:71: internal compiler error: unknown etype 0/STRUCT
make: *** [all] Error 2

I think it's because my golang is too old:

$ go version
go version go1.2.1 linux/amd64

Now I'm using dockercore/libcontainer image to build and test runc. It works perfectly.

from runc.

kgrvamsi avatar kgrvamsi commented on May 16, 2024

ya its because of the old golang version and faced the same issue and when i changed it to 1.4 then i dont see this issue any where.Try using gvm when your facing issues like this so that u can change ur golang versions anytime

from runc.

kgrvamsi avatar kgrvamsi commented on May 16, 2024

I think there is already a dockerfile in the repo dont know if it is useful for you

https://github.com/opencontainers/runc/blob/master/test_Dockerfile

from runc.

crosbymichael avatar crosbymichael commented on May 16, 2024

No reason, we can add one if you want ;)

from runc.

duglin avatar duglin commented on May 16, 2024

@hqh see https://github.com/opencontainers/runc/pull/506/files#diff-42ea5667b327bb207485077410d5f499R1 :-)

from runc.

Related Issues (20)

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.