Browse Source

4.1.0迭代开启

pull/35/head
陈精华 3 years ago
parent
commit
00555d3544
  1. 5
      Dockerfile
  2. 4
      office-plugin/pom.xml
  3. 6
      pom.xml
  4. 4
      server/pom.xml
  5. 2
      server/src/main/java/cn/keking/config/AppBanner.java

5
Dockerfile

@ -6,6 +6,7 @@ RUN echo "deb http://mirrors.aliyun.com/ubuntu/ focal main restricted universe m
apt-get clean && apt-get update &&\ apt-get clean && apt-get update &&\
apt-get install -y locales && apt-get install -y language-pack-zh-hans &&\ 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 &&\ localedef -i zh_CN -c -f UTF-8 -A /usr/share/locale/locale.alias zh_CN.UTF-8 && locale-gen zh_CN.UTF-8 &&\
export DEBIAN_FRONTEND=noninteractive &&\
apt-get install -y tzdata && ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime &&\ 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 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 &&\ apt-get install -y wget && apt-get install -y ttf-mscorefonts-installer && apt-get install -y fontconfig &&\
@ -37,5 +38,5 @@ ENV CLASSPATH $JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
ENV PATH $PATH:$JAVA_HOME/bin ENV PATH $PATH:$JAVA_HOME/bin
ENV LANG zh_CN.UTF-8 ENV LANG zh_CN.UTF-8
ENV LC_ALL zh_CN.UTF-8 ENV LC_ALL zh_CN.UTF-8
ENV KKFILEVIEW_BIN_FOLDER /opt/kkFileView-4.0.0/bin ENV KKFILEVIEW_BIN_FOLDER /opt/kkFileView-4.1.0-SNAPSHOT/bin
ENTRYPOINT ["java","-Dfile.encoding=UTF-8","-Dspring.config.location=/opt/kkFileView-4.0.0/config/application.properties","-jar","/opt/kkFileView-4.0.0/bin/kkFileView-4.0.0.jar"] ENTRYPOINT ["java","-Dfile.encoding=UTF-8","-Dspring.config.location=/opt/kkFileView-4.1.0-SNAPSHOT/config/application.properties","-jar","/opt/kkFileView-4.1.0-SNAPSHOT/bin/kkFileView-4.1.0-SNAPSHOT.jar"]

4
office-plugin/pom.xml

@ -5,9 +5,9 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<parent> <parent>
<artifactId>filepreview</artifactId> <artifactId>kkFileView-parent</artifactId>
<groupId>cn.keking</groupId> <groupId>cn.keking</groupId>
<version>4.0.0</version> <version>4.1.0-SNAPSHOT</version>
</parent> </parent>
<artifactId>office-plugin</artifactId> <artifactId>office-plugin</artifactId>

6
pom.xml

@ -5,8 +5,8 @@
<packaging>pom</packaging> <packaging>pom</packaging>
<groupId>cn.keking</groupId> <groupId>cn.keking</groupId>
<artifactId>filepreview</artifactId> <artifactId>kkFileView-parent</artifactId>
<version>4.0.0</version> <version>4.1.0-SNAPSHOT</version>
<properties> <properties>
<java.version>1.8</java.version> <java.version>1.8</java.version>
@ -22,7 +22,7 @@
<module>server</module> <module>server</module>
</modules> </modules>
<name>file-online-preview</name> <name>kkFileView-parent</name>
<description>专注文件在线预览服务</description> <description>专注文件在线预览服务</description>
<url>https://github.com/kekingcn/kkFileView</url> <url>https://github.com/kekingcn/kkFileView</url>

4
server/pom.xml

@ -4,9 +4,9 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<parent> <parent>
<artifactId>filepreview</artifactId> <artifactId>kkFileView-parent</artifactId>
<groupId>cn.keking</groupId> <groupId>cn.keking</groupId>
<version>4.0.0</version> <version>4.1.0-SNAPSHOT</version>
</parent> </parent>
<artifactId>kkFileView</artifactId> <artifactId>kkFileView</artifactId>

2
server/src/main/java/cn/keking/config/AppBanner.java

@ -21,7 +21,7 @@ public class AppBanner implements Banner {
" |_|\\_\\ |_|\\_\\ |_| |_| |_| \\___| \\/ |_| \\___| \\_/\\_/ \n" + " |_|\\_\\ |_|\\_\\ |_| |_| |_| \\___| \\/ |_| \\___| \\_/\\_/ \n" +
" \n" + " \n" +
" => Spring Boot :: (v2.4.2) QQ1 :: 613025121\n" + " => Spring Boot :: (v2.4.2) QQ1 :: 613025121\n" +
" => kkFileView :: (v4.0.0) QQ2 :: 484680571\n" + " => kkFileView :: (v4.1.0-SNAPSHOT) QQ2 :: 484680571\n" +
" => github :: https://github.com/kekingcn/kkFileView\n" + " => github :: https://github.com/kekingcn/kkFileView\n" +
" => gitee :: https://gitee.com/kekingcn/file-online-preview\n"); " => gitee :: https://gitee.com/kekingcn/file-online-preview\n");
} }

Loading…
Cancel
Save