Elffuss BraidHub

kikocis/lancedb public

main · 549 B · executableRawPermalink
1#!/bin/bash
2set -e
3ARCH=${1:-x86_64}
4
5# We pass down the current user so that when we later mount the local files
6# into the container, the files are accessible by the current user.
7pushd ci/manylinux_node
8docker build \
9 -t lancedb-node-manylinux \
10 --build-arg="ARCH=$ARCH" \
11 --build-arg="DOCKER_USER=$(id -u)" \
12 --progress=plain \
13 .
14popd
15
16# We turn on memory swap to avoid OOM killer
17docker run \
18 -v $(pwd):/io -w /io \
19 --memory-swap=-1 \
20 lancedb-node-manylinux \
21 bash ci/manylinux_node/build_vectordb.sh $ARCH