plasma-umass / browsix

Browsix is a Unix-like operating system for the browser.
Other
3.15k stars 181 forks source link

Dockerfile: add docker build. #42

Closed mbana closed 7 years ago

bpowers commented 7 years ago

woah, this is awesome @mbana! I'll play with this tonight and hopefully merge, or get back with more comments!!

mbana commented 7 years ago

hi, feel free to remove the rest of those npm install they're really not needed. i am keen on getting this to run, so i'll leave the refactoring/cleanup to the end.

how does one get the mininal version of the hello-world-http running, https://github.com/plasma-umass/browsix/tree/master/examples/hello-world-http? does the below work for you?

$ cd examples/hello-world-http
$ make
bpowers commented 7 years ago

@mbana good catch - I've fixed the makefile, and the URL for browsix-gopherjs. It needs docker 1.6 for now (tracked at https://github.com/bpowers/browsix-gopherjs/issues/2 ) -- I've updated the docker file with that.

$ cd examples/hello-world-http
$ make

Now works from a shell in a container build with docker/build.sh!

mbana commented 7 years ago

ta, :)