- Add an architectures file to list supported architectures and
variants.
- Add new `ARCH` ENV into Dockerfile. It represents the architecture.
- Add a functions.sh to put utility functions, including
- get_arch: get the current running architecture.
- get_variants: get corresponding supported variants based on the
running architecture.
Signed-off-by: Yihong Wang <yh.wang@ibm.com>
In addition to testing that the images build correctly, now test-build.sh also
validates that Node executes successfully, and that it is the expected version.
Also fixed some inconsistent whitespace.