Created
October 14, 2014 12:57
-
-
Save theanalyst/6d99a2ec60260013589b to your computer and use it in GitHub Desktop.
ceph make check dockerfile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM ubuntu:14.04 | |
| ENV DEBIAN_FRONTEND noninteractive | |
| RUN apt-get update && apt-get install -y \ | |
| autoconf \ | |
| automake \ | |
| autotools-dev \ | |
| ccache \ | |
| libbz2-dev \ | |
| debhelper \ | |
| default-jdk \ | |
| git \ | |
| gdb \ | |
| gdisk \ | |
| javahelper \ | |
| junit4 \ | |
| kpartx \ | |
| libaio-dev \ | |
| libatomic-ops-dev \ | |
| libbabeltrace-ctf-dev \ | |
| libbabeltrace-dev \ | |
| libblkid-dev \ | |
| libboost-dev \ | |
| libboost-program-options-dev \ | |
| libboost-system-dev \ | |
| libboost-thread-dev \ | |
| libcurl4-gnutls-dev \ | |
| libedit-dev \ | |
| libexpat1-dev \ | |
| libfcgi-dev \ | |
| libfuse-dev \ | |
| libgoogle-perftools-dev \ | |
| libkeyutils-dev \ | |
| libleveldb-dev \ | |
| libnss3-dev \ | |
| libsnappy-dev \ | |
| liblttng-ust-dev \ | |
| libtool \ | |
| libudev-dev \ | |
| libxml2-dev \ | |
| pkg-config \ | |
| python \ | |
| python-argparse \ | |
| python-nose \ | |
| python-virtualenv \ | |
| uuid-dev \ | |
| uuid-runtime \ | |
| xfslibs-dev \ | |
| yasm \ | |
| valgrind | |
| ENTRYPOINT ["make"] | |
| CMD ["check"] | |
| # add .dockerignore with .git in the src repo to speedup | |
| ONBUILD ADD . /src/ceph | |
| ONBUILD WORKDIR /src/ceph | |
| ONBUILD RUN ./autogen.sh && \ | |
| ./configure --disable-static --with-debug CC='ccache gcc' CXX='ccache g++' CFLAGS="-Wall -g" CXXFLAGS="-Wall -g" &&\ | |
| make -j4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment