mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2024-11-23 07:38:38 +01:00
8c03746a67
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
19 lines
389 B
Bash
19 lines
389 B
Bash
# The default Debian-based images support these arches for all database connections
|
|
#
|
|
# Other images (Alpine-based) currently
|
|
# support only a subset of these.
|
|
arches=(
|
|
amd64
|
|
arm32v6
|
|
arm32v7
|
|
arm64v8
|
|
)
|
|
|
|
if [[ "${DOCKER_TAG}" == *alpine ]]; then
|
|
# The Alpine build currently only works for amd64.
|
|
os_suffix=.alpine
|
|
arches=(
|
|
amd64
|
|
arm32v7
|
|
)
|
|
fi
|