Last active
April 9, 2018 21:07
-
-
Save willie/f99a06072eba563a8946d48f13b3312d to your computer and use it in GitHub Desktop.
part of my docker file where I build pdfium
This file contains 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
# install PDFium | |
WORKDIR / | |
RUN apt-get install -y libgtk2.0-dev | |
RUN git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git | |
ENV PATH /depot_tools:"$PATH" | |
RUN gclient config --unmanaged https://pdfium.googlesource.com/pdfium.git; \ | |
gclient sync | |
WORKDIR pdfium | |
RUN gn gen out/codebuild --args='use_sysroot=false is_clang=false use_custom_libcxx=false pdf_is_complete_lib=true pdf_is_standalone=true pdf_enable_v8=false pdf_enable_xfa=false pdf_bundle_freetype=true' | |
RUN ninja -C out/codebuild pdfium |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment