From a172339120f4d59d57c403792a92f341b80f0ec3 Mon Sep 17 00:00:00 2001 From: Antoine GIRARD Date: Tue, 9 Jan 2018 19:22:13 +0100 Subject: [PATCH] Update virtualbox to 5.2 (#323) * Update virtualbox to 5.2 * Fix missing extension * Update driver build process --- virtualbox/Dockerfile | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/virtualbox/Dockerfile b/virtualbox/Dockerfile index fb53136..141143b 100644 --- a/virtualbox/Dockerfile +++ b/virtualbox/Dockerfile @@ -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 " @@ -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