Skip to content

Instantly share code, notes, and snippets.

@nickodell
Created June 25, 2025 01:46
Show Gist options
  • Save nickodell/e2b1d83dd4747e64db5a4805928d4d30 to your computer and use it in GitHub Desktop.
Save nickodell/e2b1d83dd4747e64db5a4805928d4d30 to your computer and use it in GitHub Desktop.
Working arch build environment
FROM archlinux:latest
RUN pacman -Syu --noconfirm git base-devel
RUN useradd nodell \
&& mkdir /builddir \
&& chown nodell:nodell /builddir
USER nodell
WORKDIR /builddir
RUN git clone https://aur.archlinux.org/python-scipy-mkl-tbb.git
USER root
RUN pacman -Su --noconfirm cython gcc-fortran meson-python pybind11 python-build python-installer python-pythran python-pytest python-hypothesis
RUN pacman -Su --noconfirm intel-oneapi-mkl python-pooch
USER nodell
WORKDIR /builddir/python-scipy-mkl-tbb
# run `makepkg` to test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment