Commit cdf4be7f authored by Matthew Brett's avatar Matthew Brett
Browse files

Change default test image for 64-bit.

parent cd3f2e06
...@@ -270,8 +270,8 @@ Test phase ...@@ -270,8 +270,8 @@ Test phase
Specify the version to test with the ``DOCKER_TEST_IMAGE`` environment Specify the version to test with the ``DOCKER_TEST_IMAGE`` environment
variable. The default version is dependent on ``PLAT``: variable. The default version is dependent on ``PLAT``:
* ``matthewbrett/trusty:64``, for ``x86_64`` * ``multibuild/focal_x86_64``, for ``x86_64``
* ``matthewbrett/trusty:32`` for ``i686`` * ``matthewbrett/trusty:32`` for ``i686`` (Yes, an older image for 32-bit)
* ``multibuild/xenial_arm64v8`` for ``aarch64`` * ``multibuild/xenial_arm64v8`` for ``aarch64``
* ``multibuild/xenial_ppc64le`` for ``ppc64le`` * ``multibuild/xenial_ppc64le`` for ``ppc64le``
* ``mutlibuild/xenial_s390x`` for ``s390x`` * ``mutlibuild/xenial_s390x`` for ``s390x``
......
...@@ -116,7 +116,11 @@ function install_run { ...@@ -116,7 +116,11 @@ function install_run {
local plat=${1:-${PLAT:-x86_64}} local plat=${1:-${PLAT:-x86_64}}
if [ -z "$DOCKER_TEST_IMAGE" ]; then if [ -z "$DOCKER_TEST_IMAGE" ]; then
local bitness=$([ "$plat" == i686 ] && echo 32 || echo 64) local bitness=$([ "$plat" == i686 ] && echo 32 || echo 64)
if [ "$bitness" == "32" ]; then
local docker_image="matthewbrett/trusty:$bitness" local docker_image="matthewbrett/trusty:$bitness"
else
local docker_image="multibuild/focal_x86_64"
fi
else else
# aarch64 is called arm64v8 in Ubuntu # aarch64 is called arm64v8 in Ubuntu
local plat_subst=$([ "$plat" == aarch64 ] && echo arm64v8 || echo $plat) local plat_subst=$([ "$plat" == aarch64 ] && echo arm64v8 || echo $plat)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment