Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FreeBSD image #476

Closed
nschonni opened this issue Jul 26, 2017 · 4 comments
Closed

FreeBSD image #476

nschonni opened this issue Jul 26, 2017 · 4 comments

Comments

@nschonni
Copy link
Member

Maybe there is something that is incompatible, but a FreeBSD image would help the node-sass project. We build binaries for that platform, but having a common baseline from Node would be super helpful.

@nschonni
Copy link
Member Author

Related nodejs/build#723

@saper
Copy link

saper commented Jul 26, 2017

Docker uses the host kernel to run stuff, as explained here:

http://rhelblog.redhat.com/2015/07/29/architecting-containers-part-1-user-space-vs-kernel-space/

So you cannot run a FreeBSD kernel "in the container".

Options include:

  • trying to run FreeBSD user land on top of the Linux kernel (like Debian tried) but there is no ABI compatibility there.
  • have FreeBSD ABI emulation on Linux (not sure it exists)
  • use qemu user land emulation to run FreeBSD code
  • cross compile for FreeBSD using clang

All of them seem to be much more complicated than having a FreeBSD box and build things there using e.g. Poudriere.

@chorrell
Copy link
Contributor

chorrell commented Aug 3, 2017

I'm inclined to close this out since it doesn't seem like something we can solve with a Docker image.

If no one objects I'll close this out later today.

@nschonni
Copy link
Member Author

nschonni commented Aug 3, 2017

Yeah, did some more reading and did find there is compatibility now, but until there is an official image I think this should be closed.

@nschonni nschonni closed this as completed Aug 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants