diff options
author | BlackDex <[email protected]> | 2020-10-06 18:04:53 +0200 |
---|---|---|
committer | BlackDex <[email protected]> | 2020-10-06 18:04:53 +0200 |
commit | 8c03746a670ef2988a4341b6c3ad59d7829cb16c (patch) | |
tree | 4d4065b6f39c9fbcbe34037d1de2ee950baad6a5 /hooks | |
parent | 8746d36845265c661b477c171fc953a0adb29257 (diff) | |
download | vaultwarden-8c03746a670ef2988a4341b6c3ad59d7829cb16c.tar.gz vaultwarden-8c03746a670ef2988a4341b6c3ad59d7829cb16c.zip |
Fixed building mysql, postgresql and sqlite3 for arm
With some apt/dpkg magic building multidb containers for arm versions
now also works. As long as the build stage and docker-image stage use
the same base (debian buster now) it should all work.
Resolves #530, resolves #1066
Diffstat (limited to 'hooks')
-rw-r--r-- | hooks/arches.sh | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/hooks/arches.sh b/hooks/arches.sh index 7bd52c49..7deeed50 100644 --- a/hooks/arches.sh +++ b/hooks/arches.sh @@ -1,6 +1,6 @@ -# The default Debian-based SQLite images support these arches. +# The default Debian-based images support these arches for all database connections # -# Other images (Alpine-based, or with other database backends) currently +# Other images (Alpine-based) currently # support only a subset of these. arches=( amd64 @@ -9,15 +9,6 @@ arches=( 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 |