fix: use curl instead of wget for sqlite-vec download in Dockerfile

This commit is contained in:
pyr0ball 2026-05-19 13:01:45 -07:00
parent 1caf1ac783
commit 0da76c1c9c

View file

@ -26,7 +26,7 @@ RUN set -eux; \
aarch64) SVEC_ARCH="aarch64-linux-gnu" ;; \
*) echo "sqlite-vec: unsupported arch $ARCH — skipping" && exit 0 ;; \
esac; \
wget -q -O /tmp/sqlite_vec.tar.gz \
curl -fsSL -o /tmp/sqlite_vec.tar.gz \
"https://github.com/asg017/sqlite-vec/releases/download/v${SVEC_VER}/sqlite-vec-${SVEC_VER}-loadable-linux-${SVEC_ARCH}.tar.gz"; \
tar -xz -C /usr/lib/python3/ -f /tmp/sqlite_vec.tar.gz --wildcards '*.so' || true; \
rm /tmp/sqlite_vec.tar.gz