1
0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden.git synced 2025-06-25 12:22:50 +00:00

Multi-arch image support

This commit is contained in:
Jeremy Lin 2020-06-10 02:01:41 -07:00
parent bbef332e25
commit 4559e85daa
12 changed files with 140 additions and 19 deletions

14
hooks/build Executable file
View file

@ -0,0 +1,14 @@
#!/bin/bash
echo ">>> Building images..."
source ./hooks/arches.sh
set -ex
for arch in "${arches[@]}"; do
docker build \
-t "${DOCKER_REPO}:${DOCKER_TAG}-${arch}" \
-f docker/${arch}/${db}/Dockerfile${os_suffix} \
.
done