2015-04-28 19:30:19 +02:00
|
|
|
# Run virtualbox in a container
|
|
|
|
#
|
|
|
|
# docker run -v /tmp/.X11-unix:/tmp/.X11-unix \
|
2015-06-05 20:55:25 +02:00
|
|
|
# -e DISPLAY=unix$DISPLAY \
|
|
|
|
# jess/virtualbox
|
2015-04-28 19:30:19 +02:00
|
|
|
#
|
|
|
|
FROM debian:jessie
|
|
|
|
MAINTAINER Jessie Frazelle <jess@linux.com>
|
|
|
|
|
|
|
|
RUN apt-get update && apt-get install -y \
|
2015-06-05 19:24:11 +02:00
|
|
|
ca-certificates \
|
|
|
|
curl \
|
|
|
|
software-properties-common \
|
|
|
|
--no-install-recommends && \
|
|
|
|
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 && \
|
|
|
|
apt-get update && \
|
|
|
|
apt-get install -y \
|
2015-06-07 02:48:44 +02:00
|
|
|
virtualbox \
|
|
|
|
&& rm -rf /var/lib/apt/lists/*
|
2015-04-28 19:30:19 +02:00
|
|
|
|
2015-06-05 19:24:11 +02:00
|
|
|
ENTRYPOINT [ "/usr/bin/virtualbox" ]
|