Dockfile for alinode.
Clone or download
Pull request Compare This branch is 12 commits ahead, 9 commits behind XadillaX:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
2
3
4
test
.gitignore
Dockerfile.jessie.template
Dockerfile.slim.template
LICENSE
README.md
build.sh
default.config.js
start-agenthub.sh

README.md

alinode Docker

Dockerfiles for building runtime image for Node.js Performance Platform runtime.

The built containter image list can be found here.

The version map can be found here.

The built images can be pulled from:

public:: docker pull registry.cn-hangzhou.aliyuncs.com/aliyun-node/alinode:[image-tag]
internal: docker pull registry-internal.cn-hangzhou.aliyuncs.com/aliyun-node/alinode:[image-tag]
VPC: docker pull registry-vpc.cn-hangzhou.aliyuncs.com/aliyun-node/alinode:[image-tag]

Usage

build images

./build.sh 2/3/4 jessie/slim

e.g:

# build image for the latest version alinode-v4.x (node-v10.x)
./build 4 jessie

# build image for the latest version alinode-v4.x (node-v10.x)
./build 4 slim

verify the image

provide APP_ID and APP_SECRET via environment variables

cd test
docker build -t alinodetest .
docker run -it -p 3333:3333 -e "APP_ID=_YOUR_APP_ID" -e "APP_SECRET=_YOUR_APP_SECRET" alinodetest

provide APP_ID and APP_SECRET via config file

cd test
# provide APP_ID and APP_SECRET via app-config.json
docker build -t alinodetest .
docker run -it -p 3333:3333 alinodetest

Then check from here.

Contribute

You're welcome to make pull requests!