mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-30 05:18:11 +01:00
198f1bcd98
Signed-off-by: Jessica Frazelle <princess@docker.com>
22 lines
625 B
Docker
22 lines
625 B
Docker
# Run virtualbox in a container
|
|
#
|
|
# docker run -v /tmp/.X11-unix:/tmp/.X11-unix \
|
|
# -e DISPLAY=unix$DISPLAY \
|
|
# jess/virtualbox
|
|
#
|
|
FROM debian:jessie
|
|
MAINTAINER Jessie Frazelle <jess@linux.com>
|
|
|
|
RUN apt-get update && apt-get install -y \
|
|
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 \
|
|
virtualbox
|
|
|
|
ENTRYPOINT [ "/usr/bin/virtualbox" ]
|