mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-23 11:31:49 +01:00
virtualbox cleanup
Signed-off-by: Jess Frazelle <acidburn@google.com>
This commit is contained in:
parent
589db818b7
commit
9819aa12b6
|
@ -32,20 +32,19 @@
|
|||
FROM debian:sid
|
||||
MAINTAINER Jessie Frazelle <jess@linux.com>
|
||||
|
||||
RUN apt-get update && apt-get install -y \
|
||||
ca-certificates \
|
||||
curl \
|
||||
gnupg \
|
||||
--no-install-recommends \
|
||||
RUN buildDeps=' \
|
||||
ca-certificates \
|
||||
curl \
|
||||
gnupg \
|
||||
' \
|
||||
&& set -x \
|
||||
&& apt-get update && apt-get install -y $buildDeps --no-install-recommends \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
&& 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/*
|
||||
&& apt-get purge -y --auto-remove $buildDeps
|
||||
|
||||
ENTRYPOINT [ "/usr/bin/virtualbox" ]
|
||||
|
|
Loading…
Reference in New Issue
Block a user