remove virtualbox
This commit is contained in:
parent
dff5c0deb1
commit
5ae8348a8c
1 changed files with 0 additions and 16 deletions
16
Dockerfile
16
Dockerfile
|
|
@ -45,22 +45,6 @@ RUN dnf copr enable andersrh/kernel-cachyos-addons-el10 -y
|
|||
|
||||
RUN dnf install -y ${KERNEL}-devel ${KERNEL}-headers
|
||||
|
||||
RUN wget https://download.virtualbox.org/virtualbox/rpm/el/virtualbox.repo -O /etc/yum.repos.d/virtualbox.repo
|
||||
RUN dnf install -y chkconfig
|
||||
|
||||
RUN dnf install VirtualBox-7.2 -y && \
|
||||
KVER=$(rpm -q --queryformat "%{VERSION}-%{RELEASE}.%{ARCH}\n" ${KERNEL}) && \
|
||||
for mod in vboxdrv vboxnetflt vboxnetadp; do \
|
||||
make -C /lib/modules/${KVER}/build M=/usr/share/virtualbox/src/vboxhost/${mod} \
|
||||
KERN_VER=${KVER} CONFIG_MODULE_COMPRESS_GZIP= CONFIG_MODULE_COMPRESS_XZ= \
|
||||
CONFIG_MODULE_COMPRESS_ZSTD= -j$(nproc) modules; \
|
||||
make -C /lib/modules/${KVER}/build M=/usr/share/virtualbox/src/vboxhost/${mod} \
|
||||
KERN_VER=${KVER} INSTALL_MOD_DIR=misc modules_install; \
|
||||
done && \
|
||||
depmod ${KVER}
|
||||
|
||||
RUN systemctl enable vboxdrv
|
||||
|
||||
RUN dnf install almalinux-release-nvidia-driver -y
|
||||
RUN dnf install nvidia-open-kmod nvidia-driver nvidia-driver-cuda -y
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue