echo "deb http://ftp.de.debian.org/debian sid main" >> /etc/apt/sources.list
apt-get -qqy update
apt-get -qqy install pdf2htmlex
#Dockerfile to build a pdf2htmlEx image
FROM debian:wheezy
ENV REFRESHED_AT 20151007
# update debian source list
RUN echo "deb http://ftp.de.debian.org/debian sid main" >> /etc/apt/sources.list && \
apt-get -qqy update && \
apt-get -qqy install pdf2htmlex && \
rm -rf /var/lib/apt/lists/*
VOLUME /pdf
WORKDIR /pdf
CMD ["pdf2htmlEX"]
brew install pdf2htmlex
需要sudo权限
git clone https://github.com/luvvien/pdf2htmlEX_install_shell.git \
&& cd pdf2htmlEX_install_shell \
&& chmod 755 install.sh \
&& ./install.sh \
&& rm -rf ../pdf2htmlEX_install_shell
viencoding.com版权所有,允许转载,但转载请注明出处和原文链接: https://viencoding.com/article/85