Closed illeatmyhat closed 8 months ago
FYI for anyone who just wants to get it built, do this instead.
# syntax=docker/dockerfile:1
FROM redhat/ubi9-minimal as builder
RUN microdnf update -y && \
microdnf install -y gcc sqlite-devel python3.11-devel python3.11-pip && \
pip3.11 install --no-cache-dir -U pip && \
pip3.11 install pysqlite3
Yeah, the prebuilt binaries are x86-64. ARM or other architectures can build from source.
There are no ARM builds available. This is not difficult to do with github workflows (they have windows, mac, linux runners on x86 and ARM) See an example here: https://github.com/IBM/kstar/blob/main/.github/workflows/main.yaml#L8-L31
In a
redhat/ubi9-minimal
docker image, I'm attempting to install pysqlite3-binary, but get the errorminimum reproducable example:
docker buildx build --platform=linux/amd64,linux/arm64 -f ./Dockerfile .