sptrakesh/xlnt

By sptrakesh

Updated 8 days ago

Alpine image with https://github.com/tfussell/xlnt

Image
0

434

FROM sptrakesh/cppbase
ENV VERSION=1.5.0

WORKDIR /opt
#RUN git clone https://github.com/tfussell/xlnt.git --branch v${VERSION} --depth 1 \
RUN git clone https://github.com/beached/xlnt.git --branch patch-1 --depth 1 --recursive \
  && cd xlnt \
  && mkdir build && cd build \
  && cmake -DSTATIC=ON -DTESTS=OFF \
    -DCMAKE_PREFIX_PATH=/opt/local \
    -DCMAKE_INSTALL_PREFIX=/opt/local \
    -DCMAKE_INSTALL_LIBDIR=lib .. \
  && make -j4 \
  && make install

FROM sptrakesh/cppbase
MAINTAINER Rakesh Vidyadharan <rakesh@sptci.com>
ENV VERSION=1.5.0

WORKDIR /opt
COPY --from=0 /opt/local local

Docker Pull Command

docker pull sptrakesh/xlnt