SIFT_ROOT
Runs the sift made available in this path, defaults to /run/sandbox/sift
IPC_ROOT
Uses Nanomsg req/rep sockets in this path, defaults to /run/sandbox/ipc
. Node ordinality is used as the identity e.g. the 1st node in the DAG comunicates over /run/sandbox/ipc/0.sock
io.redsift.sandbox.install
CMD for one time install operations.
io.redsift.sandbox.run
CMD for run operations.
Parameters are the node numbers you wish the script to install or execute.
docker run -u 7438
-v <path-to-sift>:/run/sandbox/sift
-v <path-to-ipcs>:/run/sandbox/ipc
quay.io/redsift/sandbox-javascript:v16.15.0
/usr/bin/redsift/run.js
0 1 2
nn_req -X /run/sandbox/ipc/0.sock -D "{\"dummy\":1}" --raw
npm ci
npm test
docker build -t quay.io/redsift/sandbox-javascript:some-custom-tag .