kkfileview (sha256:95dc95d4e5f5bf2b4a7f6e05a4aa25e22855ce4427a8c978c6291708287c7891)
Published 2026-06-05 14:33:55 +08:00 by fjut
Installation
docker pull gitea.devops.1msoft.cn/fjut/kkfileview@sha256:95dc95d4e5f5bf2b4a7f6e05a4aa25e22855ce4427a8c978c6291708287c7891sha256:95dc95d4e5f5bf2b4a7f6e05a4aa25e22855ce4427a8c978c6291708287c7891Image Layers
| ARG RELEASE |
| ARG LAUNCHPAD_BUILD_ARCH |
| LABEL org.opencontainers.image.version=24.04 |
| ADD file:8ce1caf246e7c778bca84c516d02fd4e83766bb2c530a0fffa8a351b560a2728 in / |
| CMD ["/bin/bash"] |
| RUN /bin/sh -c sed -i 's@//.*archive.ubuntu.com@//mirrors.aliyun.com@g' /etc/apt/sources.list.d/ubuntu.sources && sed -i 's@//security.ubuntu.com@//mirrors.aliyun.com@g' /etc/apt/sources.list.d/ubuntu.sources && sed -i 's@//ports.ubuntu.com@//mirrors.aliyun.com@g' /etc/apt/sources.list.d/ubuntu.sources && apt-get update && export DEBIAN_FRONTEND=noninteractive && apt-get install -y --no-install-recommends openjdk-21-jre tzdata locales xfonts-utils fontconfig libreoffice-nogui && echo 'Asia/Shanghai' > /etc/timezone && ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && 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 --no-install-recommends ttf-mscorefonts-installer && apt-get install -y --no-install-recommends ttf-wqy-microhei ttf-wqy-zenhei xfonts-wqy fonts-noto-cjk fonts-noto-cjk-extra fonts-noto-color-emoji fonts-dejavu fonts-liberation2 fonts-freefont-ttf fonts-arphic-ukai fonts-arphic-uming && apt-get autoremove -y && apt-get clean && rm -rf /var/lib/apt/lists/* # buildkit |
| COPY fonts/ /usr/share/fonts/chinese/ # buildkit |
| RUN /bin/sh -c cd /usr/share/fonts/chinese && mkfontscale && mkfontdir && fc-cache -fv # buildkit |
| ENV LANG=zh_CN.UTF-8 LC_ALL=zh_CN.UTF-8 |
| ADD server/target/kkFileView-*.tar.gz /opt/ # buildkit |
| ENV KKFILEVIEW_BIN_FOLDER=/opt/kkFileView-5.0.0/bin |
| ENTRYPOINT ["java" "-Dfile.encoding=UTF-8" "-Dspring.config.location=/opt/kkFileView-5.0.0/config/application.properties" "-jar" "/opt/kkFileView-5.0.0/bin/kkFileView-5.0.0.jar"] |
Labels
| Key | Value |
|---|---|
| org.opencontainers.image.version | 24.04 |
Details
2026-06-05 14:33:55 +08:00
Versions (2)
View all
Container
1
OCI / Docker
linux/amd64
1.4 GiB
5.0.0-x64
2026-06-05
5.0.0-arm64
2026-06-05