mirror of
https://github.com/ViViDboarder/bitwarden_rs.git
synced 2024-11-25 06:36:37 +00: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
20 lines
389 B
Bash
20 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
|