2020-06-10 05:01:41 -04:00
|
|
|
# The default Debian-based SQLite images support these arches.
|
|
|
|
#
|
|
|
|
# Other images (Alpine-based, or with other database backends) currently
|
|
|
|
# support only a subset of these.
|
|
|
|
arches=(
|
|
|
|
amd64
|
|
|
|
arm32v6
|
|
|
|
arm32v7
|
|
|
|
arm64v8
|
|
|
|
)
|
|
|
|
|
|
|
|
case "${DOCKER_REPO}" in
|
|
|
|
*-mysql)
|
|
|
|
arches=(amd64)
|
|
|
|
;;
|
|
|
|
*-postgresql)
|
|
|
|
arches=(amd64)
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
|
|
|
if [[ "${DOCKER_TAG}" == *alpine ]]; then
|
|
|
|
# The Alpine build currently only works for amd64.
|
|
|
|
os_suffix=.alpine
|
2020-09-26 16:02:47 -04:00
|
|
|
arches=(
|
|
|
|
amd64
|
|
|
|
arm32v7
|
|
|
|
)
|
2020-06-10 05:01:41 -04:00
|
|
|
fi
|