mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2025-02-17 09:37:49 +01:00
use jessie for vagrant
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
parent
4b52e624dc
commit
69d1bbbb01
|
@ -1,8 +1,10 @@
|
||||||
FROM debian:sid-slim
|
FROM debian:jessie-slim
|
||||||
LABEL maintainer "Jessie Frazelle <jess@linux.com>"
|
LABEL maintainer "Jessie Frazelle <jess@linux.com>"
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y \
|
RUN apt-get update && apt-get install -y \
|
||||||
bridge-utils \
|
bridge-utils \
|
||||||
|
ca-certificates \
|
||||||
|
curl \
|
||||||
gcc \
|
gcc \
|
||||||
libxslt-dev \
|
libxslt-dev \
|
||||||
libxml2-dev \
|
libxml2-dev \
|
||||||
|
@ -15,23 +17,14 @@ RUN apt-get update && apt-get install -y \
|
||||||
ruby-fog \
|
ruby-fog \
|
||||||
zlib1g-dev \
|
zlib1g-dev \
|
||||||
--no-install-recommends \
|
--no-install-recommends \
|
||||||
&& rm -rf /var/lib/apt/lists/* \
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
&& ldconfig -p
|
|
||||||
|
|
||||||
ENV VAGRANT_VERSION 2.1.2
|
ENV VAGRANT_VERSION 2.1.2
|
||||||
|
|
||||||
# download the source
|
# download the source
|
||||||
RUN buildDeps=' \
|
RUN curl -sSL "https://releases.hashicorp.com/vagrant/${VAGRANT_VERSION}/vagrant_${VAGRANT_VERSION}_x86_64.deb" -o /tmp/vagrant-amd64.deb \
|
||||||
ca-certificates \
|
|
||||||
curl \
|
|
||||||
' \
|
|
||||||
&& set -x \
|
|
||||||
&& apt-get update && apt-get install -y $buildDeps --no-install-recommends \
|
|
||||||
&& rm -rf /var/lib/apt/lists/* \
|
|
||||||
&& curl -sSL "https://releases.hashicorp.com/vagrant/${VAGRANT_VERSION}/vagrant_${VAGRANT_VERSION}_x86_64.deb" -o /tmp/vagrant-amd64.deb \
|
|
||||||
&& dpkg -i /tmp/vagrant-amd64.deb \
|
&& dpkg -i /tmp/vagrant-amd64.deb \
|
||||||
&& rm -rf /tmp/*.deb \
|
&& rm -rf /tmp/*.deb
|
||||||
&& apt-get purge -y --auto-remove $buildDeps
|
|
||||||
|
|
||||||
# install the libvirt plugin
|
# install the libvirt plugin
|
||||||
RUN vagrant plugin install vagrant-libvirt
|
RUN vagrant plugin install vagrant-libvirt
|
||||||
|
|
Loading…
Reference in New Issue
Block a user