mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-23 19:32:30 +01:00
22 lines
661 B
Docker
22 lines
661 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" ]
|