cleanup sanity docker image

pull/5121/head
Jan Tattermusch 9 years ago
parent 1978e26119
commit 8763501cf0
  1. 6
      templates/tools/dockerfile/test/sanity/Dockerfile.template
  2. 18
      tools/dockerfile/test/sanity/Dockerfile

@ -32,7 +32,6 @@
FROM debian:jessie
<%include file="../../apt_get_basic.include"/>
<%include file="../../cxx_deps.include"/>
#========================
# Sanity test dependencies
RUN apt-get update && apt-get install -y python-pip
@ -45,4 +44,7 @@
RUN curl https://get.docker.com/ | sh
RUN apt-get remove --purge -y docker-engine
<%include file="../../run_tests_addons.include"/>
RUN mkdir /var/local/jenkins
# Define the default command.
CMD ["bash"]

@ -63,10 +63,6 @@ RUN apt-get update && apt-get install -y \
# Build profiling
RUN apt-get update && apt-get install -y time && apt-get clean
#=================
# C++ dependencies
RUN apt-get update && apt-get -y install libgflags-dev libgtest-dev libc++-dev clang && apt-get clean
#========================
# Sanity test dependencies
RUN apt-get update && apt-get install -y python-pip
@ -79,21 +75,7 @@ RUN pip install simplejson mako
RUN curl https://get.docker.com/ | sh
RUN apt-get remove --purge -y docker-engine
# 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++
#======================
# Zookeeper dependencies
# TODO(jtattermusch): is zookeeper still needed?
RUN apt-get install -y libzookeeper-mt-dev
RUN mkdir /var/local/jenkins
# Define the default command.
CMD ["bash"]

Loading…
Cancel
Save