Originally created by @sickcodes on GitHub (Oct 29, 2021).
Just advising that the current libguestfs is busted again and I'll be working on it tomorrow.
Fingers crossed stable works out of the box.
It's either that, or docker hub stopped allowing the kvm related builds, or they never did.
Originally created by @sickcodes on GitHub (Oct 29, 2021).
Just advising that the current libguestfs is busted again and I'll be working on it tomorrow.
Fingers crossed stable works out of the box.
It's either that, or docker hub stopped allowing the kvm related builds, or they never did.
#### libguestfs versioning# 5.13+ problem resolved by building the qcow2 against 5.12 using libguestfs-1.44.1-6ENVSUPERMIN_KERNEL=/boot/vmlinuz-linuxENVSUPERMIN_MODULES=/lib/modules/5.12.14-arch1-1ENVSUPERMIN_KERNEL_VERSION=5.12.14-arch1-1ENVKERNEL_PACKAGE_URL=https://archive.archlinux.org/packages/l/linux/linux-5.12.14.arch1-1-x86_64.pkg.tar.zstENVLIBGUESTFS_PACKAGE_URL=https://archive.archlinux.org/packages/l/libguestfs/libguestfs-1.44.1-6-x86_64.pkg.tar.zstARGLINUX=true# required to use libguestfs inside a docker container, to create bootdisks for docker-osx on-the-flyRUNif[["${LINUX}"==true]];then\
sudo pacman -U "${KERNEL_PACKAGE_URL}" --noconfirm \
; sudo pacman -U "${LIBGUESTFS_PACKAGE_URL}" --noconfirm \
; sudo libguestfs-test-tool \
;fi####
@sickcodes commented on GitHub (Oct 29, 2021):
Resolved, pushing images.
```dockerfile
#### libguestfs versioning
# 5.13+ problem resolved by building the qcow2 against 5.12 using libguestfs-1.44.1-6
ENV SUPERMIN_KERNEL=/boot/vmlinuz-linux
ENV SUPERMIN_MODULES=/lib/modules/5.12.14-arch1-1
ENV SUPERMIN_KERNEL_VERSION=5.12.14-arch1-1
ENV KERNEL_PACKAGE_URL=https://archive.archlinux.org/packages/l/linux/linux-5.12.14.arch1-1-x86_64.pkg.tar.zst
ENV LIBGUESTFS_PACKAGE_URL=https://archive.archlinux.org/packages/l/libguestfs/libguestfs-1.44.1-6-x86_64.pkg.tar.zst
ARG LINUX=true
# required to use libguestfs inside a docker container, to create bootdisks for docker-osx on-the-fly
RUN if [[ "${LINUX}" == true ]]; then \
sudo pacman -U "${KERNEL_PACKAGE_URL}" --noconfirm \
; sudo pacman -U "${LIBGUESTFS_PACKAGE_URL}" --noconfirm \
; sudo libguestfs-test-tool \
; fi
####
```
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @sickcodes on GitHub (Oct 29, 2021).
Just advising that the current libguestfs is busted again and I'll be working on it tomorrow.
Fingers crossed stable works out of the box.
It's either that, or docker hub stopped allowing the kvm related builds, or they never did.
@sickcodes commented on GitHub (Oct 29, 2021):
Resolved, pushing images.