fix virtualbox

Signed-off-by: Jess Frazelle <me@jessfraz.com>
This commit is contained in:
Jess Frazelle 2016-08-11 19:15:28 -07:00
parent e793632e6c
commit 72607632b2
No known key found for this signature in database
GPG Key ID: 18F3685C0022BFF3

View File

@ -29,21 +29,23 @@
# rm -rf /usr/share/virtualbox # rm -rf /usr/share/virtualbox
# rm vboxdrv # rm vboxdrv
# #
FROM debian:jessie FROM debian:stretch
MAINTAINER Jessie Frazelle <jess@linux.com> MAINTAINER Jessie Frazelle <jess@linux.com>
RUN apt-get update && apt-get install -y \ RUN apt-get update && apt-get install -y \
ca-certificates \ ca-certificates \
curl \ curl \
--no-install-recommends && \ gnupg \
curl -sSL https://www.virtualbox.org/download/oracle_vbox.asc | apt-key add - && \ --no-install-recommends \
echo "deb http://download.virtualbox.org/virtualbox/debian vivid contrib" >> /etc/apt/sources.list.d/virtualbox.list && \ && curl -sSL https://www.virtualbox.org/download/oracle_vbox_2016.asc | apt-key add - \
apt-get update && \ && echo "deb http://download.virtualbox.org/virtualbox/debian stretch contrib" >> /etc/apt/sources.list.d/virtualbox.list \
apt-get install -y \ && apt-get update && apt-get install -y \
virtualbox-5.0 \ virtualbox-5.0 \
--no-install-recommends \
&& apt-get purge -y --auto-remove \ && apt-get purge -y --auto-remove \
ca-certificates \ ca-certificates \
curl \ curl \
gnupg \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
ENTRYPOINT [ "/usr/bin/virtualbox" ] ENTRYPOINT [ "/usr/bin/virtualbox" ]