|
|
@ -63,10 +63,6 @@ RUN apt-get update && apt-get install -y \ |
|
|
|
# Build profiling |
|
|
|
# Build profiling |
|
|
|
RUN apt-get update && apt-get install -y time && apt-get clean |
|
|
|
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 |
|
|
|
# Sanity test dependencies |
|
|
|
RUN apt-get update && apt-get install -y python-pip |
|
|
|
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 curl https://get.docker.com/ | sh |
|
|
|
RUN apt-get remove --purge -y docker-engine |
|
|
|
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 |
|
|
|
RUN mkdir /var/local/jenkins |
|
|
|
|
|
|
|
|
|
|
|
# Define the default command. |
|
|
|
# Define the default command. |
|
|
|
CMD ["bash"] |
|
|
|
CMD ["bash"] |
|
|
|
|
|
|
|
|
|
|
|