anchor.diff:      qemu \
       qemu-img \
       qemu-modules \
  -    qemu-system-x86_64
  +    qemu-system-x86_64 \
  +    libcrypto3@edge \
  +    swtpm@testing
       
   
   RUN apk add --no-cache \
  
positive.code: RUN CARGO_INCREMENTAL=0 cargo build --release
  RUN make install || true
  
  
  
  FROM alpine:3.15 as production
  MAINTAINER isard <info@isardvdi.com>
  
  RUN apk add --no-cache \
      libvirt \
  
negative.code: # Use debian ovmf
  FROM debian:11-slim as ovmf
  
  RUN apt-get update && apt-get install -y \
      ovmf && \
      rm -rf /var/lib/apt/lists/*
  
  # Build mdevctl
  FROM alpine:3.16 as build
  
  RUN apk add --no-cache cargo uuidgen py3-docutils make git
  