Alpine image with flatbuffers library and compiler/generator.
4.8K
Docker image generated using the following Dockerfile.
FROM sptrakesh/cppbase
ENV VERSION=2.0.0
WORKDIR /opt
RUN git clone -b v${VERSION} https://github.com/google/flatbuffers.git \
&& cd flatbuffers \
&& mkdir build && cd build \
&& cmake -DFLATBUFFERS_BUILD_TESTS=OFF \
-DFLATBUFFERS_BUILD_CPP17=ON \
-DCMAKE_BUILD_TYPE=Release \
-DFLATBUFFERS_ENABLE_PCH=ON \
-DCMAKE_INSTALL_PREFIX=/opt/local .. \
-DCMAKE_INSTALL_LIBDIR=lib \
&& make -j8 \
&& make install
FROM sptrakesh/cppbase
MAINTAINER Rakesh Vidyadharan <[email protected]>
ENV VERSION=2.0.0
WORKDIR /opt
COPY --from=0 /opt/local local
Content type
Image
Digest
sha256:e01127d34…
Size
215.6 MB
Last updated
14 days ago
docker pull sptrakesh/flatbuffers