Hi All, Im writing an lxc container template for to running node app's and depending on the options the template script may try to download the latest binary version of nodejs. Currently im doing this by hitting http://www.nodejs.org/dist/latest/ and attempting to find the appropriate binary using a combo of wget/grep/sed, but parsing html this way isnt generally a great idea and im trying to keep the dependencies the template introduces to a minimum (i.e. without using perl/python/php or nodejs itself or even depending on the distro having nodejs). Looking around (and asking in irc) I couldn't really find anything that might simplify the request (i.e. a link like http://www.nodejs.org/dist/<http://www.nodejs.org/dist/latest/>linux/64/latest.tar.gz would be handy) and I was wondering if anyone has any suggestions or knows of a simple way of getting a link to the latest nodejs binary based on platform/architecture?
Regards, PJR -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
