Skip to content
master
Switch branches/tags
Go to file
Code
This branch is 20 commits ahead, 9 commits behind XadillaX:master.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
2
 
 
3
 
 
4
 
 
5
 
 
 
 
 
 
 
 
 
 
 
 

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/stretch

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

Image with tag alinode-2/3/4-jessie/slim/stretch will be created.

verify the image

provide APP_ID and APP_SECRET via environment variables

cd test
docker build -t alinodetest .
docker run -d -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 -d -p 3333:3333 alinodetest

Then check from here.

Contribute

You're welcome to make pull requests!