aboutsummaryrefslogtreecommitdiff
path: root/hooks
diff options
context:
space:
mode:
authorBlackDex <[email protected]>2020-10-06 18:04:53 +0200
committerBlackDex <[email protected]>2020-10-06 18:04:53 +0200
commit8c03746a670ef2988a4341b6c3ad59d7829cb16c (patch)
tree4d4065b6f39c9fbcbe34037d1de2ee950baad6a5 /hooks
parent8746d36845265c661b477c171fc953a0adb29257 (diff)
downloadvaultwarden-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.sh13
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