mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-23 11:31:49 +01:00
fix virtualbox
Signed-off-by: Jess Frazelle <me@jessfraz.com>
This commit is contained in:
parent
e793632e6c
commit
72607632b2
|
@ -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" ]
|
||||
|
|
Loading…
Reference in New Issue
Block a user