mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-30 05:18:11 +01:00
Update virtualbox to 5.2 (#323)
* Update virtualbox to 5.2 * Fix missing extension * Update driver build process
This commit is contained in:
parent
6f1e2bf2a5
commit
a172339120
|
@ -14,20 +14,19 @@
|
||||||
# copy the files you need for the module from the container that
|
# copy the files you need for the module from the container that
|
||||||
# is currently running to your host
|
# is currently running to your host
|
||||||
#
|
#
|
||||||
# first the script:
|
# first the lib:
|
||||||
# docker cp virtualbox:/usr/lib/virtualbox/vboxdrv.sh .
|
# docker cp virtualbox:/usr/lib/virtualbox /usr/lib
|
||||||
#
|
#
|
||||||
# then the share
|
# then the share
|
||||||
# docker cp virtualbox:/usr/share/virtualbox /usr/share
|
# docker cp virtualbox:/usr/share/virtualbox /usr/share
|
||||||
#
|
#
|
||||||
# then run the script:
|
# 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
|
# it will recompile the module, you can then see it in lsmod
|
||||||
#
|
#
|
||||||
# then you can remove all the shit you copied
|
# then you can remove all the shit you copied
|
||||||
# rm -rf /usr/share/virtualbox
|
# rm -rf /usr/share/virtualbox /usr/lib/virtualbox
|
||||||
# rm vboxdrv
|
|
||||||
#
|
#
|
||||||
FROM debian:sid
|
FROM debian:sid
|
||||||
LABEL maintainer "Jessie Frazelle <jess@linux.com>"
|
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 - \
|
&& 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 \
|
&& echo "deb http://download.virtualbox.org/virtualbox/debian stretch contrib" >> /etc/apt/sources.list.d/virtualbox.list \
|
||||||
&& apt-get update && apt-get install -y \
|
&& apt-get update && apt-get install -y \
|
||||||
virtualbox-5.0 \
|
virtualbox-5.2 \
|
||||||
--no-install-recommends \
|
--no-install-recommends \
|
||||||
&& apt-get purge -y --auto-remove $buildDeps
|
&& apt-get purge -y --auto-remove $buildDeps
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user