node9 icon indicating copy to clipboard operation
node9 copied to clipboard

VirtualBox image?

Open kungfooman opened this issue 10 years ago • 7 comments

Hi, as this was posted on HackerNews and I wanna test it, where can I download an image?

kungfooman avatar Jun 12 '15 17:06 kungfooman

Hi kungfooman.

It source only right now and only for OSX because that's my laptop :)

As soon as we mod the build files for Linux/BSD you should have something you could make an image from. Have patience.

jvburnes avatar Jun 12 '15 18:06 jvburnes

I don't think VirtualBox image is particularly useful for node9, a Docker image, on the other hand can come really handy for people who want to play with it. In fact, I've created a first cut at getting this done here https://github.com/rvs/node9/blob/docker/Dockerfile

With it -- you can now run the following command on Linux, MacOS or even Windows (with 0 prerequisites I might add):

$ docker build -t node9 .
$ docker run -it node9
node9 First Edition (20150610), build: 1608949702  main (pid=10)
Sat Dec 26 02:28:29 2020  node9/kernel: initializing terminal
Sat Dec 26 02:28:29 2020  node9/kernel: loading
Sat Dec 26 02:28:29 2020  node9/kernel: initializing namespace
Sat Dec 26 02:28:29 2020  node9/kernel: binding standard streams
Sat Dec 26 02:28:29 2020  node9/kernel: initializing host environment
Sat Dec 26 02:28:29 2020  node9/kernel: accepting requests
Sat Dec 26 02:28:29 2020  node9/kernel: starting luaspace ...
Sat Dec 26 02:28:29 2020  signals set
(/appl/sh): started
[the time on the console is Sat Dec 26 02:28:29 2020]
;

Not sure how @jvburnes feels about this -- but perhaps we can merge this in and also publish our current builds on DockerHUB so people can simply run the last command all by itself.

rvs avatar Dec 26 '20 02:12 rvs

Actually it's a pretty cool idea. Makes it easy to install and run.

On Fri, Dec 25, 2020 at 7:29 PM Roman V Shaposhnik [email protected] wrote:

I don't think VirtualBox image is particularly useful for node9, a Docker image, on the other hand can come really handy for people who want to play with it. In fact, I've created a first cut at getting this done here https://github.com/rvs/node9/blob/docker/Dockerfile

With it -- you can now run the following command on Linux, MacOS or even Windows (with 0 prerequisites I might add:

$ docker build -t node9 . $ docker run -it node9 node9 First Edition (20150610), build: 1608949702 main (pid=10) Sat Dec 26 02:28:29 2020 node9/kernel: initializing terminal Sat Dec 26 02:28:29 2020 node9/kernel: loading Sat Dec 26 02:28:29 2020 node9/kernel: initializing namespace Sat Dec 26 02:28:29 2020 node9/kernel: binding standard streams Sat Dec 26 02:28:29 2020 node9/kernel: initializing host environment Sat Dec 26 02:28:29 2020 node9/kernel: accepting requests Sat Dec 26 02:28:29 2020 node9/kernel: starting luaspace ... Sat Dec 26 02:28:29 2020 signals set (/appl/sh): started [the time on the console is Sat Dec 26 02:28:29 2020] ;

Not sure how @jvburnes https://github.com/jvburnes feels about this -- but perhaps we can merge this in and also publish our current builds on DockerHUB so people can simply run the last command all by itself.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/jvburnes/node9/issues/4#issuecomment-751310715, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKJIO46UJYZKZ547AHQYTDSWVDA5ANCNFSM4BIE5Z4A .

jvburnes avatar Dec 26 '20 03:12 jvburnes

I'll submit a PR then @jvburnes

And since we're going to have Dockerfile infrastructure -- do you want me to help setup GitHub Actions to automatically build the images? Here's roughly how it would look like https://github.com/lf-edge/adam/actions?query=workflow%3APublish with a definition like https://github.com/lf-edge/adam/actions/runs/439648024/workflow

Then we would just need to pick up a DockerHUB repo for publishing (let me know if you'd like to set it up yourself or you'd want me to do that). I suggest we do it under node9 account name which seems to be available on DockerHUB https://hub.docker.com/u/node9 (note 404)

rvs avatar Dec 26 '20 04:12 rvs

Go ahead and set it up. It sounds like a great way to get over the build hump!

On Fri, Dec 25, 2020 at 9:11 PM Roman V Shaposhnik [email protected] wrote:

I'll submit a PR then @jvburnes https://github.com/jvburnes

And since we're going to have Dockerfile infrastructure -- do you want me to help setup GitHub Actions to automatically build the images? Here's roughly how it would look like https://github.com/lf-edge/adam/actions?query=workflow%3APublish with a definition like https://github.com/lf-edge/adam/actions/runs/439648024/workflow

Then we would just need to pick up a DockerHUB repo for publishing (let me know if you'd like to set it up yourself or you'd want me to do that). I suggest we do it under node9 account name which seems to be available on DockerHUB https://hub.docker.com/u/node9 (note 404)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/jvburnes/node9/issues/4#issuecomment-751316114, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKJIOZZDWIU7MMT5UF66JTSWVO5TANCNFSM4BIE5Z4A .

jvburnes avatar Dec 26 '20 05:12 jvburnes

Hey @jvburnes -- I've created a node9 organization on DockerHUB and submit a Pull Request that takes advantage of it. Please respond with your DockerHUB ID here so I can add you to the organization as an admin.

rvs avatar Dec 29 '20 02:12 rvs

Will do.

On Mon, Dec 28, 2020 at 7:39 PM Roman V Shaposhnik [email protected] wrote:

Hey @jvburnes https://github.com/jvburnes -- I've created a node9 organization on DockerHUB and submit a Pull Request that takes advantage of it. Please respond with your DockerHUB ID here so I can add you to the organization as an admin.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/jvburnes/node9/issues/4#issuecomment-751925752, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKJIO62EDP7YSJGFH7YUGTSXE6NBANCNFSM4BIE5Z4A .

jvburnes avatar Dec 29 '20 02:12 jvburnes