manylinux inspector

A website that makes it easy to see what's in manylinux images

2
0
Vue

Manylinux Inspector

image

This website provides an overview of the images created by the manylinux project.

Manylinux (and musllinux) images are the easiest way to build Python wheels that work on nearly every linux-based operating systems.

Because they’re constantly kept up-to-date, with newer operating systems, tools, and the latest versions of Python, it can be hard to know what’s under the hood, and what’s changed between versions. Manylinux Inspector makes it easy to see what’s installed on each image, and to spot the differences between images.

How does it work?

The data in this site comes from a scheduled Github Action, which runs daily to:

  • check the various repositories at quay.io to see if there’s a new image
  • for each new image, pulls it down with Docker and runs loads of commands to ask questions about it
  • saves that information into the Github repo
  • rebuilds the site, and redeploys it to Github Pages.

The frontend site is a Typescript/Vue.js app which loads the output of the inspection phase, parses it and displays the information.

All the code is open-source and on Github!

Developing

To run the webapp, you’ll need Node & npm installed. Then do :

cd webapp
npm install
npm run dev

That runs the dev server locally.

To test the inspection scripts, you can run them locally like so:

python -m venv env
. env/bin/activate
pip install -r requirements.txt

python inspect_latest.py  # checks for new images not inspected yet, and writes them to /data
python inspect_image.py  # checks a single image and returns the inspection result on stdout