Clone and build Node for analysis:
$ git clone https://github.com/joyent/node.git
$ cd node
$ export GYP_DEFINES="v8_enable_disassembler=1 v8_object_print=1"
$ export CXXFLAGS="-fno-omit-frame-pointer"
$ ./configure
| #!/bin/bash | |
| BLK=$(tput setaf 0) | |
| RED=$(tput setaf 1) | |
| GRN=$(tput setaf 2) | |
| YEL=$(tput setaf 3) | |
| BLU=$(tput setaf 4) | |
| MAG=$(tput setaf 5) | |
| CYN=$(tput setaf 6) | |
| WHY=$(tput setaf 7) |
| #!/bin/bash | |
| # COLORS!!!! | |
| RED=$(tput setaf 1) | |
| CLR=$(tput sgr0) | |
| # 1. grab pending chagnes | |
| # 2. remove ?? files that aren't part of the commit | |
| # 3. only grab things in the index | |
| git status --porcelain |\ |
dependencies
root@de2af2218c88:/tpo-api# apt-get install nodejs
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
| start entry | |
| dyld_stub_binding_helper entry | |
| _dyld_func_lookup entry | |
| node::FSEventWrap::FSEventWrap(v8::Handle<v8::Object>) entry | |
| node::FSEventWrap::~FSEventWrap() entry | |
| node::FSEventWrap::Initialize(v8::Handle<v8::Object>) entry | |
| node::FSEventWrap::New(v8::Arguments const&) entry | |
| node::FSEventWrap::Start(v8::Arguments const&) entry | |
| node::FSEventWrap::Close(v8::Arguments const&) entry | |
| node::FSEventWrap::OnEvent(uv_fs_event_s*, char const*, int, int) entry |
| #-- Boilerplate -- | |
| # | |
| # This must be a layer-2 image | |
| # Use the default unless you're customizing layer-2 or below | |
| FROM nodeos/base | |
| # Important to have /root/bin binaries accessible | |
| ENV HOME /root | |
| ENV PATH /root/bin:/usr/bin:/usr/sbin:/bin:/sbin |
| FROM nodeos/base | |
| MAINTAINER Jacob Groundwater <groundwater@gmail.com> | |
| ENV HOME /root | |
| ENV PATH /root/bin:/usr/bin:/usr/sbin:/bin:/sbin | |
| # Use `init` to boot the system | |
| ENTRYPOINT ["init"] |