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:
parent
bbef332e25
commit
4559e85daa
12 changed files with 140 additions and 19 deletions
14
hooks/build
Executable file
14
hooks/build
Executable 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
|
Loading…
Add table
Add a link
Reference in a new issue