Browse Source

更新Docker镜像为阿里云源

pull/29/MERGE
陈精华 2 years ago
parent
commit
5704a4182e
No known key found for this signature in database
GPG Key ID: 30BDC970902B755D
  1. 5
      docker/kkfileview-jdk/Dockerfile
  2. 4
      server/src/main/resources/web/comment.ftl
  3. 4
      server/src/main/resources/web/index.ftl
  4. 21
      server/src/main/resources/web/record.ftl

5
docker/kkfileview-jdk/Dockerfile

@ -2,7 +2,10 @@ FROM ubuntu:20.04
MAINTAINER chenjh "842761733@qq.com"
# 内置一些常用的中文字体,避免普遍性乱码
COPY fonts/* /usr/share/fonts/chinese/
RUN sed -i 's/http:\/\/archive.ubuntu.com/https:\/\/mirrors.aliyun.com/g' /etc/apt/sources.list &&\
RUN apt-get clean && apt-get update &&\
sed -i 's/http:\/\/archive.ubuntu.com/https:\/\/mirrors.aliyun.com/g' /etc/apt/sources.list &&\
sed -i 's/# deb/deb/g' /etc/apt/sources.list &&\
apt-get install -y --reinstall ca-certificates &&\
apt-get clean && apt-get update &&\
apt-get install -y locales 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 &&\

4
server/src/main/resources/web/comment.ftl

@ -30,12 +30,12 @@
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="https://kkfileview.keking.cn" target='_blank'>KKFileView</a>
<a class="navbar-brand" href="https://kkfileview.keking.cn" target='_blank'>kkFileView</a>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li><a href="./index">首页</a></li>
<li><a href="./record">版本记录</a></li>
<li><a href="./record">版本发布记录</a></li>
<li class="active"><a href="./comment">相关交流</a></li>
</ul>
</div>

4
server/src/main/resources/web/index.ftl

@ -36,12 +36,12 @@
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="https://kkfileview.keking.cn" target='_blank'>KKFileView</a>
<a class="navbar-brand" href="https://kkfileview.keking.cn" target='_blank'>kkFileView</a>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li class="active"><a href="./index">首页</a></li>
<li><a href="./record">版本记录</a></li>
<li><a href="./record">版本发布记录</a></li>
<li><a href="./comment">相关交流</a></li>
</ul>
</div>

21
server/src/main/resources/web/record.ftl

@ -27,12 +27,12 @@
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="https://kkfileview.keking.cn" target='_blank'>KKFileView</a>
<a class="navbar-brand" href="https://kkfileview.keking.cn" target='_blank'>kkFileView</a>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li><a href="./index">首页</a></li>
<li class="active"><a href="./record">版本记录</a></li>
<li class="active"><a href="./record">版本发布记录</a></li>
<li><a href="./comment">相关交流</a></li>
</ul>
</div>
@ -44,6 +44,23 @@
<div class="page-header">
<h1>版本发布记录</h1>
</div>
<div class="panel panel-success">
<div class="panel-heading">
<h3 class="panel-title">v4.1.0 版本, 发布时间TBD</h3>
</div>
<div class="panel-body">
<div>
** 本次版本主要功能均由社区开发贡献感谢 @yl-yue @wsd7747 @zhangzhen1979 @tomhusky @shenghuadun @kischn.sun 的代码贡献 ** <br>
1. 全新首页视觉 @wsd7747 <br>
2. tif图片预览兼容多页tif的pdf转换jpg转换以及jpg在线多页预览功能 @zhangzhen1979<br>
3. 优化docker构建方案使用分层构建方式 @yl-yue<br>
4. 实现基于userToken缓存加密文件 @yl-yue<br>
5. 实现加密wordpptexcel文件预览 @yl-yue<br>
6. Linux & Docker镜像升级LibreOffice 7.3<br>
7. 其他升级优化 & 已知问题修复
</div>
</div>
</div>
<div class="panel panel-success">
<div class="panel-heading">
<h3 class="panel-title">2021年7月6日v4.0.0 版本</h3>

Loading…
Cancel
Save