mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-23 11:31:49 +01:00
1acfaf03c4
Signed-off-by: Jessica Frazelle <princess@docker.com>
23 lines
659 B
Docker
23 lines
659 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 \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
ENTRYPOINT [ "/usr/bin/virtualbox" ]
|