Sign inSign up

yjhjstz/alinode

By yjhjstz

Updated almost 8 years ago

Enterprise node.js @aliyun

Image
0

1.4K

yjhjstz/alinode repository overview

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!

Tag summary

Content type

Image

Digest

Size

112.6 MB

Last updated

almost 9 years ago

docker pull yjhjstz/alinode