Containerfile 759 B

1234567891011121314151617181920212223
  1. # Use debian:sid-slim as the base image
  2. FROM debian:sid-slim
  3. # Set environment variables to avoid interactive prompts during package installation
  4. ENV DEBIAN_FRONTEND=noninteractive
  5. # Update the package list and install virt-v2v, rhsrvany, and dependencies
  6. RUN apt-get update && \
  7. apt-get install -y --no-install-recommends \
  8. virt-v2v \
  9. rhsrvany \
  10. linux-image-amd64 \
  11. wget \
  12. ca-certificates && \
  13. apt-get clean && \
  14. rm -rf /var/lib/apt/lists/*
  15. # Download virtio-win.iso and save it as /usr/share/virtio-win
  16. RUN wget -O /usr/share/virtio-win \
  17. https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/virtio-win-0.1.266-1/virtio-win.iso
  18. # Default command (optional)
  19. CMD ["bash"]