dockerfile cleanup

pull/4906/head
Jan Tattermusch 9 years ago
parent 788ee23ab3
commit 2bb4d3fda2
  1. 13
      tools/dockerfile/grpc_jenkins_slave_x64/Dockerfile
  2. 6
      tools/dockerfile/grpc_jenkins_slave_x86/Dockerfile
  3. 15
      tools/dockerfile/grpc_sanity/Dockerfile

@ -27,8 +27,7 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# A work-in-progress Dockerfile that allows running gRPC test suites # Dockerfile for running gRPC test suites inside a docker container.
# inside a docker container.
FROM debian:jessie FROM debian:jessie
@ -152,18 +151,8 @@ RUN apt-get update && apt-get install -y \
################## ##################
# Zookeeper dependencies # Zookeeper dependencies
# Install dependencies
RUN apt-get install -y libzookeeper-mt-dev RUN apt-get install -y libzookeeper-mt-dev
##################
# Docker "inception".
# Note this is quite the ugly hack.
# This makes sure that the docker binary we inject has its dependencies.
RUN curl https://get.docker.com/ | sh
RUN apt-get remove --purge -y docker-engine
RUN mkdir /var/local/jenkins RUN mkdir /var/local/jenkins
# Define the default command. # Define the default command.

@ -27,8 +27,7 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# A work-in-progress Dockerfile that allows running gRPC test suites # Dockerfile for running gRPC test suites inside a docker container.
# inside a docker container.
FROM 32bit/debian:jessie FROM 32bit/debian:jessie
@ -151,9 +150,6 @@ RUN apt-get update && apt-get install -y \
################## ##################
# Zookeeper dependencies # Zookeeper dependencies
# Install dependencies
RUN apt-get install -y libzookeeper-mt-dev RUN apt-get install -y libzookeeper-mt-dev

@ -27,8 +27,7 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# A work-in-progress Dockerfile that allows running gRPC test suites # Dockerfile for running gRPC sanity tests
# inside a docker container.
FROM debian:jessie FROM debian:jessie
@ -62,18 +61,6 @@ RUN apt-get update && apt-get install -y \
wget \ wget \
zip && apt-get clean zip && apt-get clean
# Prepare ccache
RUN ln -s /usr/bin/ccache /usr/local/bin/gcc
RUN ln -s /usr/bin/ccache /usr/local/bin/g++
RUN ln -s /usr/bin/ccache /usr/local/bin/cc
RUN ln -s /usr/bin/ccache /usr/local/bin/c++
RUN ln -s /usr/bin/ccache /usr/local/bin/clang
RUN ln -s /usr/bin/ccache /usr/local/bin/clang++
##################
# C++ dependencies
RUN apt-get update && apt-get -y install libgflags-dev libgtest-dev libc++-dev clang
################## ##################
# Sanity test dependencies # Sanity test dependencies
RUN apt-get update && apt-get install -y python-pip RUN apt-get update && apt-get install -y python-pip

Loading…
Cancel
Save