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