mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-27 04:16:45 +01:00
update mesos-dev and vagrant
Signed-off-by: Jess Frazelle <jess@mesosphere.com>
This commit is contained in:
parent
75012bbc10
commit
7cc3abe916
|
@ -6,6 +6,7 @@ RUN apt-get update && apt-get install -y \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
curl \
|
curl \
|
||||||
g++ \
|
g++ \
|
||||||
|
iptables \
|
||||||
libapr1-dev \
|
libapr1-dev \
|
||||||
libcurl4-openssl-dev \
|
libcurl4-openssl-dev \
|
||||||
libpython-dev \
|
libpython-dev \
|
||||||
|
@ -26,6 +27,11 @@ RUN apt-get update && apt-get install -y \
|
||||||
--no-install-recommends \
|
--no-install-recommends \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
ADD https://get.docker.com/builds/Linux/x86_64/docker-latest /usr/bin/docker
|
||||||
|
|
||||||
|
RUN chmod +x /usr/bin/docker \
|
||||||
|
&& echo "docker daemon -D -s overlay" > $HOME/.bash_history
|
||||||
|
|
||||||
WORKDIR /usr/src/mesos
|
WORKDIR /usr/src/mesos
|
||||||
|
|
||||||
ENTRYPOINT [ "bash" ]
|
ENTRYPOINT [ "bash" ]
|
||||||
|
|
|
@ -1,14 +1,24 @@
|
||||||
# Base docker image
|
FROM debian:sid
|
||||||
FROM jess/virtualbox:latest
|
|
||||||
MAINTAINER Jessica Frazelle <jess@docker.com>
|
MAINTAINER Jessica Frazelle <jess@docker.com>
|
||||||
|
|
||||||
ENV VERSION 1.7.4
|
RUN apt-get update && apt-get install -y \
|
||||||
|
gcc \
|
||||||
ADD https://dl.bintray.com/mitchellh/vagrant/vagrant_${VERSION}_x86_64.deb /src/vagrant_${VERSION}_x86_64.deb
|
libxslt-dev \
|
||||||
|
libxml2-dev \
|
||||||
# Install Vagrant
|
libvirt-dev \
|
||||||
RUN apt-get update \
|
make \
|
||||||
&& dpkg -i /src/vagrant_${VERSION}_x86_64.deb \
|
pkg-config \
|
||||||
|
ruby-dev \
|
||||||
|
zlib1g-dev \
|
||||||
|
--no-install-recommends \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
ENV VAGRANT_VERSION 1.8.1
|
||||||
|
|
||||||
|
ADD https://releases.hashicorp.com/vagrant/${VAGRANT_VERSION}/vagrant_${VAGRANT_VERSION}_x86_64.deb /src/vagrant_${VAGRANT_VERSION}_x86_64.deb
|
||||||
|
|
||||||
|
# install vagrant and the libvirt plugin
|
||||||
|
RUN dpkg -i /src/vagrant_${VAGRANT_VERSION}_x86_64.deb \
|
||||||
|
&& vagrant plugin install vagrant-libvirt
|
||||||
|
|
||||||
ENTRYPOINT [ "vagrant" ]
|
ENTRYPOINT [ "vagrant" ]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user