1.6K Unstar Star 6.5K Fork 2.7K

GVPkeking / kkFileView

Clone or download
Dockerfile
Copy Edit Web IDE Raw Normal History
陈精华   2.2.1迭代,docker镜像底层使用ubuntu 2020-06-09
FROM ubuntu:20.04
陈精华   新增Docker构建 2019-06-17
MAINTAINER chenjh "842761733@qq.com"ADD jodconverter-web/target/kkFileView-*.tar.gz /opt/
陈精华   中文语言环境 2019-08-02
COPY fonts/* /usr/share/fonts/chienes/
陈精华   2.2.1迭代,docker镜像底层使用ubuntu 2020-06-09
RUN echo "deb http://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse\ndeb-src http://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse\ndeb http://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiverse\ndeb-src http://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiverse\ndeb http://mirrors.aliyun.com/ubuntu/ focal-updates main restricted universe multiverse\ndeb-src http://mirrors.aliyun.com/ubuntu/ focal-updates main restricted universe multiverse\ndeb http://mirrors.aliyun.com/ubuntu/ focal-proposed main restricted universe multiverse\ndeb-src http://mirrors.aliyun.com/ubuntu/ focal-proposed main restricted universe multiverse\ndeb http://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse\ndeb-src http://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse" > /etc/apt/sources.list &&\	apt-get clean && apt-get update &&\	apt-get install -y locales && apt-get install -y language-pack-zh-hans &&\	localedef -i zh_CN -c -f UTF-8 -A /usr/share/locale/locale.alias zh_CN.UTF-8 && locale-gen zh_CN.UTF-8 &&\	apt-get install -y tzdata && ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime &&\	apt-get install -y libxrender1 && apt-get install -y libxt6 && apt-get install -y libxext-dev && apt-get install -y libfreetype6-dev &&\	apt-get install -y wget && apt-get install -y ttf-mscorefonts-installer && apt-get install -y fontconfig &&\
隔壁邻居王师傅   修复部分乱码问题 2020-08-17
	apt-get install ttf-wqy-microhei &&\	apt-get install ttf-wqy-zenhei &&\	apt-get install xfonts-wqy &&\    cd /tmp &&\
陈精华   2.2.1迭代,docker镜像底层使用ubuntu 2020-06-09
	wget https://kkfileview.keking.cn/server-jre-8u251-linux-x64.tar.gz &&\	wget https://kkfileview.keking.cn/Apache_OpenOffice_4.1.6_Linux_x86-64_install-deb_zh-CN.tar.gz -cO openoffice_deb.tar.gz &&\	tar -zxf /tmp/server-jre-8u251-linux-x64.tar.gz && mv /tmp/jdk1.8.0_251 /usr/local/ &&\	tar -zxf /tmp/openoffice_deb.tar.gz && cd /tmp/zh-CN/DEBS &&\	dpkg -i *.deb && dpkg -i desktop-integration/openoffice4.1-debian-menus_4.1.6-9790_all.deb &&\	rm -rf /tmp/* && rm -rf /var/lib/apt/lists/* &&\
陈精华   优化:构建镜像使用阿里云yum源,加速构建 2020-05-18
    cd /usr/share/fonts/chienes &&\    mkfontscale &&\    mkfontdir &&\    fc-cache -fv
陈精华   2.2.1迭代,docker镜像底层使用ubuntu 2020-06-09
ENV JAVA_HOME /usr/local/jdk1.8.0_251ENV CLASSPATH $JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jarENV PATH $PATH:$JAVA_HOME/bin
陈精华   中文语言环境 2019-08-02
ENV LANG zh_CN.UTF-8
陈精华   新增Docker构建 2019-06-17
ENV LC_ALL zh_CN.UTF-8
陈精华   2.2.1版 2020-08-11
ENV KKFILEVIEW_BIN_FOLDER /opt/kkFileView-2.2.1/binENTRYPOINT ["java","-Dfile.encoding=UTF-8","-Dsun.java2d.cmm=sun.java2d.cmm.kcms.KcmsServiceProvider","-Dspring.config.location=/opt/kkFileView-2.2.1/config/application.properties","-jar","/opt/kkFileView-2.2.1/bin/kkFileView-2.2.1.jar"]
Java
1
https://gitee.com/kekingcn/file-online-preview.git
git@gitee.com:kekingcn/file-online-preview.git
kekingcn
file-online-preview
kkFileView
master

Search

190622 32b11934 1899542 190632 884178f9 1899542