Commit ec13e718 authored by Philipp Götze's avatar Philipp Götze
Browse files

🐳 Updated PMDK version in Dockerfile and dockerhub

parent 19efa9fa
......@@ -14,18 +14,23 @@ RUN apk update && apk add --no-cache \
make \
ndctl-dev \
sudo && \
wget -P /usr/include/ https://raw.githubusercontent.com/zeromq/cppzmq/master/zmq.hpp && \
# PMDK
git clone https://github.com/pmem/pmdk && \
cd pmdk && git checkout tags/1.6 && make EXTRA_CFLAGS="-Wno-error" EXTRA_LIBS="-lfts" && \
make install prefix=/usr/local && \
git clone https://github.com/pmem/libpmemobj-cpp && \
cd libpmemobj-cpp && mkdir build && cd build && git checkout tags/1.7 && \
wget -P /usr/include/ https://raw.githubusercontent.com/zeromq/cppzmq/master/zmq.hpp
# PMDK
RUN git clone https://github.com/pmem/pmdk && \
cd pmdk && git checkout tags/1.9.1 && \
export DOC=n && make BUILD_EXAMPLES=n EXTRA_CFLAGS="-Wno-error" EXTRA_LIBS="-lfts" && make install prefix=/usr/local && \
cd ..
RUN git clone https://github.com/pmem/libpmemobj-cpp && \
mkdir libpmemobj-cpp/build && cd libpmemobj-cpp/build && \
git checkout tags/1.11 && \
cmake .. -DBUILD_EXAMPLES=OFF -DBUILD_TESTS=OFF -DBUILD_DOC=OFF \
-DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_INSTALL_LIBDIR=lib && make && make install && \
cd ../../.. && \
# Cleaning up
rm -rf pmdk && \
cd ../..
# Cleaning up
RUN rm -rf pmdk && \
rm -rf /usr/share/doc && \
rm -rf /usr/local/share/doc && \
rm -rf /usr/share/man/?? && \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment