mirror of
https://github.com/dani-garcia/vaultwarden
synced 2024-12-15 01:53:43 +01:00
5633b6ac94
The bitwarden_rs code is still cross-compiled exactly as before, but Docker Buildx is used to rewrite the resulting Docker images with correct platform metadata (reflecting the target platform instead of the build platform). Buildx also now handles building and pushing the multi-arch manifest lists.
18 lines
231 B
Bash
Executable file
18 lines
231 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -ex
|
|
|
|
# Print some environment info in case it's useful for troubleshooting.
|
|
id
|
|
pwd
|
|
df -h
|
|
env
|
|
docker info
|
|
docker version
|
|
|
|
# Install build dependencies.
|
|
deps=(
|
|
jq
|
|
)
|
|
apt-get update
|
|
apt-get install -y "${deps[@]}"
|