Skip to content

Instantly share code, notes, and snippets.

View martijnvdwoude's full-sized avatar

Martijn van der Woude martijnvdwoude

View GitHub Profile
@martijnvdwoude
martijnvdwoude / Dockerfile
Last active May 17, 2024 20:13
Dockerfile to easily build ConnectorX for Linux ARM64/aarch64 architecture. Ideal for building ConnectorX to use in Docker containers running on Macs with Apple Silicon (M1/M2). This Dockerfile allows configurable versions of ConnectorX and Rust and outputs a .whl file with a single command.
# syntax=docker/dockerfile:1.7
# Dockerfile to easily build ConnectorX Python wheel for Linux ARM64/aarch64 architecture,
# with configurable versions of ConnectorX and Rust.
#
# https://sfu-db.github.io/connector-x/install.html#build-from-source-code
#
# To find the required Rust toolchain version, check under 'linux-aarch':
# https://github.com/sfu-db/connector-x/blob/main/.github/workflows/release.yml
#