mirror of
https://github.com/cculianu/Fulcrum.git
synced 2026-08-13 12:33:27 +02:00
This commit:
- Adds building docker images for multiple architectures (currently intel, arm64)
using docker `buildx`
- Temporarily modifies the `Dockerfile` to use `ppa:mainnet-pat/opt-qt-5.13.2-bionic`
which is a clone of previously used `ppa:beineri/opt-qt-5.13.2-bionic` but builds
arm64 deb packages as well. Author is contacted to support this in their repo.
- Calin verified that the input source tree and build control files are identical to ~beineri
- Adds librocksdb.a static lib built for arm64 (should be generally useful outside of docker)
16 lines
362 B
Bash
Executable file
16 lines
362 B
Bash
Executable file
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
if [ -z "$1" ] ; then
|
|
echo "Usage: $0 <image tag>"
|
|
exit 1
|
|
fi
|
|
|
|
IMAGE_TAG="$1"
|
|
|
|
here=$(dirname $(realpath "$0" 2> /dev/null || grealpath "$0"))
|
|
. "$here"/../base.sh
|
|
|
|
docker buildx build --build-arg MAKEFLAGS="-j $WORKER_COUNT" -t "$IMAGE_TAG" -f contrib/docker/Dockerfile \
|
|
--platform linux/arm64/v8,linux/amd64 --push "$here"/../..
|