- Support `s390x` in all of the version except 4.8 and the following
variants: default, alpine, stretch and onbuild
- Generate proper `architectures` for the stackbrew
- Update `update.sh` in order to be used on s390x
- `s390` is not supported in v4.8, therefore, add a local architectures
under 4.8 and remove `s390x` there
Signed-off-by: Yihong Wang <yh.wang@ibm.com>
- 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>