Skip to content

aliyun-node/alinode-docker

 
 

Repository files navigation

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!

Packages

No packages published

Languages

  • Dockerfile 89.9%
  • Shell 5.6%
  • JavaScript 4.5%