mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 08:02:02 +00:00
24 lines
456 B
Bash
Executable File
24 lines
456 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e -x
|
|
|
|
source default-config
|
|
|
|
./check-docker.sh
|
|
|
|
# http://fl47l1n3.net/2015/12/24/binfmt/
|
|
./install-os-packages.sh qemu-user-static
|
|
|
|
pushd docker-multiarch
|
|
|
|
$SUDO ./update.sh \
|
|
-a "$DOCKER_UBUNTU_ARCH" \
|
|
-v "$DOCKER_UBUNTU_VERSION" \
|
|
-q "$DOCKER_UBUNTU_QUEMU_ARCH" \
|
|
-u "$DOCKER_UBUNTU_QEMU_VER" \
|
|
-d "$DOCKER_UBUNTU_REPO" \
|
|
-t "$DOCKER_UBUNTU_TAG_ARCH"
|
|
|
|
docker run --rm --privileged multiarch/qemu-user-static:register
|
|
|
|
popd
|