Sign inSign up

sbates130272/batesste-ci-images-ubuntu-libvfio-user

By sbates130272

Updated about 4 hours ago

Ubuntu with libvfio-user built from source, the vfio-user protocol library consumers link against.

Image
0

1.8K

sbates130272/batesste-ci-images-ubuntu-libvfio-user repository overview

ubuntu-libvfio-user

Ubuntu with libvfio-user built and installed from source.

Overview

libvfio-user implements the vfio-user protocol, which lets a device be emulated by a process outside the VMM and attached to a guest over a Unix socket. More than one image in this collection links against it, so it is built once here and shared rather than rebuilt per image.

Two images layer on this one:

Sharing the layer also means both see the same pin. The commit is part of both images' tags, so two builds that differ only in the libvfio-user pin cannot collide.

Base image

What is installed

  • libvfio-user built with meson/ninja and installed under /usr/local, so downstream images find it at the prefix they build against
  • its build dependencies: meson, libglib2.0-dev, libjson-c-dev, libcmocka-dev

The resolved commit is recorded in the image at /usr/local/share/libvfio-user-commit.txt, which is also the container's default command:

docker run --rm \
  docker.io/sbates130272/batesste-ci-images-ubuntu-libvfio-user:latest

Usage

To build against it:

ARG BASE_IMAGE=docker.io/sbates130272/batesste-ci-images-ubuntu-libvfio-user:latest
FROM ${BASE_IMAGE}

Pin

The commit is pinned in images.yml as libvfio_user_commit, under defaults.vars because more than one image needs it. scripts/version-scrub.sh advances it, and the README badge that advertises it is generated from the same value.

Tags

The tag variant is the abbreviated commit, for example vfu.8039244. See the repository README for the full tag scheme.

Tag summary

Content type

Image

Digest

sha256:43015c351

Size

197.1 MB

Last updated

about 4 hours ago

docker pull sbates130272/batesste-ci-images-ubuntu-libvfio-user