Sign inSign up

tillt/mesos-debug-libevent-ubuntu18

By tillt

•Updated about 8 years ago

Debug libevent 2.1.8 within Apache Mesos (libprocess).

Image
0

127

tillt/mesos-debug-libevent-ubuntu18 repository overview

⁠How this image was built

⁠Provisioning the container for building

Not sure if really needed - but why not.

rm -rf /var/lib/apt/lists/*
apt-get update

Install dependency packages.

apt-get install -y build-essential git autoconf libtool
apt-get install -y python-dev python-six libcurl4-nss-dev libapr1-dev libsvn-dev libssl-dev
apt-get install -y libsasl2-dev libsasl2-modules zlib1g-dev wget curl sed
cd /root

Get libevent.

curl -L https://github.com/libevent/libevent/releases/download/release-2.1.8-stable/libevent-2.1.8-stable.tar.gz -o libevent-2.1.8-stable.tar.gz
tar xzf libevent-2.1.8-stable.tar.gz

Get latest Mesos.

git clone --depth 1 https://github.com/apache/mesos.git

⁠Building libevent 2.1.8-stable

cd /root/libevent-2.1.8-stable
./autogen.sh
./configure  --enable-debug-mode --enable-verbose-debug --prefix=/root/usr
make -j16
make install

⁠Building Apache Mesos

cd /root/mesos
./bootstrap
mkdir build
cd build
../configure --enable-ssl --enable-libevent --disable-optimize --enable-debug --disable-java --disable-python --disable-werror --with-libevent=/root/usr
make tests -j16

⁠Running the test that shows our problem.

/root/mesos/build/3rdparty/libprocess/libprocess-tests --gtest_filter="SSLTest.SSLSocket" --verbose

Tag summary

Content type

Image

Digest

Size

1.5 GB

Last updated

about 8 years ago

docker pull tillt/mesos-debug-libevent-ubuntu18:version1