温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

OfficeOnline镜像制作

发布时间:2020-08-26 10:15:20 来源:网络 阅读:458 作者:一王小可一 栏目:系统运维
FROM 192.168.2.196/base/graphicsmagick_jkd1.8
MAINTAINER wangxiaoke
MAINTAINER wangke@zhaotai.ren
WORKDIR /opt/application/
USER root
ADD Apache_OpenOffice_4.1.5_Linux_x86-64_install-rpm_zh-CN.tar.gz /opt/application/
ADD winfonts.tar.gz /usr/share/fonts/
ADD pdf2htmlEX-0.14.6.tar.gz /opt/application/
ADD fontforge-pdf2htmlEX.tar.gz /opt/application/
ADD html2text.py /opt/application/
ENV PKG_CONFIG_PATH=/usr/local/lib/pkgconfig \
    LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH \
    JAVA_HOME=/opt/jdk1.8.0_131 \
    JAVA_BIN=/opt/jdk1.8.0_131/bin \
    CLASSPATH=/opt/jdk1.8.0_131/lib:/opt/jdk1.8.0_131/jrelib:${CLASSPATH} \
    PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/opt/jdk1.8.0_131/bin:/opt/jdk1.8.0_131/jre/bin:/opt/maven-3.1.1/bin:/opt/node-v8.11.1-linux-x64/bin:/root/bin:$PATH
RUN yum install -y xorg-x11-font-utils fontconfig cmake gcc gnu-getopt libpng-devel fontforge-devel \
                   cairo-devel poppler-devel libspiro-devel freetype-devel poppler-data libjpeg-turbo-devel \
                   git make gcc-c++ pango-devel libjpeg-turbo.x86_64 libjpeg-turbo-devel libjpeg-turbo-devel.x86_64 \
                   libtiff.x86_64 libtiff-devel openjpeg-devel.x86_64 openjpeg giflibgiflib-devel libxml2.x86_64 \
                   libxml2-devel libspiro.x86_64 libspiro-devel libuninameslist-devel.x86_64i xorg-x11-util-macros.noarch \
                   libtool patch libtool-ltdl-devel libXext.x86_64 && rm -rf /var/cache/yum/*
RUN cd zh-CN/RPMS/ && \
        rpm -ivh *.rpm && \
        rpm -ivh desktop-integration/openoffice4.1.5-redhat-menus-4.1.5-9789.noarch.rpm && \
        mkfontscale && mkfontdir && fc-cache && cd /opt/application/ && \
        cd fontforge-pdf2htmlEX && ./autogen.sh && ./configure && make && make install && cd /opt/application/ && mv pdf2htmlEX-0.14.6 pdf2htmlEX && \
        chmod 775 html2text.py && \
        cd pdf2htmlEX && cmake . && make && make install && rm -rf /usr/local/src/* && rpm -qa | grep openjdk | xargs rpm -e --nodeps


向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI