Update virtualbox to 5.2 (#323)

* Update virtualbox to 5.2

* Fix missing extension

* Update driver build process
This commit is contained in:
Antoine GIRARD 2018-01-09 19:22:13 +01:00 committed by Jess Frazelle
parent 6f1e2bf2a5
commit a172339120

View File

@ -14,20 +14,19 @@
# copy the files you need for the module from the container that
# is currently running to your host
#
# first the script:
# docker cp virtualbox:/usr/lib/virtualbox/vboxdrv.sh .
# first the lib:
# docker cp virtualbox:/usr/lib/virtualbox /usr/lib
#
# then the share
# docker cp virtualbox:/usr/share/virtualbox /usr/share
#
# then run the script:
# ./vboxdrv.sh setup
# /usr/lib/virtualbox/vboxdrv.sh setup
#
# it will recompile the module, you can then see it in lsmod
#
# then you can remove all the shit you copied
# rm -rf /usr/share/virtualbox
# rm vboxdrv
# rm -rf /usr/share/virtualbox /usr/lib/virtualbox
#
FROM debian:sid
LABEL maintainer "Jessie Frazelle <jess@linux.com>"
@ -43,7 +42,7 @@ RUN buildDeps=' \
&& curl -sSL https://www.virtualbox.org/download/oracle_vbox_2016.asc | apt-key add - \
&& echo "deb http://download.virtualbox.org/virtualbox/debian stretch contrib" >> /etc/apt/sources.list.d/virtualbox.list \
&& apt-get update && apt-get install -y \
virtualbox-5.0 \
virtualbox-5.2 \
--no-install-recommends \
&& apt-get purge -y --auto-remove $buildDeps