update virtualbox

Signed-off-by: Jess Frazelle <jess@mesosphere.com>
This commit is contained in:
Jess Frazelle 2016-04-19 13:30:40 -07:00
parent 6c0296172f
commit b0d4e2d2d7
No known key found for this signature in database
GPG Key ID: 18F3685C0022BFF3

View File

@ -35,13 +35,15 @@ 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 \
software-properties-common \
--no-install-recommends && \ --no-install-recommends && \
curl -sSL https://www.virtualbox.org/download/oracle_vbox.asc | apt-key add - && \ curl -sSL https://www.virtualbox.org/download/oracle_vbox.asc | apt-key add - && \
echo "deb http://download.virtualbox.org/virtualbox/debian jessie contrib" >> /etc/apt/sources.list.d/virtualbox.list && \ echo "deb http://download.virtualbox.org/virtualbox/debian vivid contrib" >> /etc/apt/sources.list.d/virtualbox.list && \
apt-get update && \ apt-get update && \
apt-get install -y \ apt-get install -y \
virtualbox-5.0 \ virtualbox-5.0 \
&& apt-get purge -y --auto-remove \
ca-certificates \
curl \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
ENTRYPOINT [ "/usr/bin/virtualbox" ] ENTRYPOINT [ "/usr/bin/virtualbox" ]