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