Namespace
hanxi
Image / Tag
cups-web:dev-web
Content Digest
sha256:3c808315af3f87688ef4ca05b4cd01f0a698282dc8e7e06d9d5e205751889469
Details
Created

2026-11-15 12:36:58 UTC

Size

576 MB

Content Digest
Environment
DB_PATH

/data/cups-web.db

DCONF_USER_CONFIG_DIR

/root/.config/dconf

DEBIAN_FRONTEND

noninteractive

HOME

/root

LISTEN_ADDR

:8080

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

SCAN_DEVICES_CACHE_TTL

0

SCAN_DIR

/scans

TZ

Asia/Shanghai

UPLOAD_DIR

/uploads

XDG_CACHE_HOME

/root/.cache


Layers

[#000] sha256:37fb86c2a767b88d500c6872195f88078f64765fe0d2f9cc375cc2efbd4c0a41 - 4.95% (28.5 MB)

[#001] sha256:2a5b6763940439a38b44cd9b590198a0479bbb7d9bbe082c639365b050df4f18 - 78.62% (453 MB)

[#002] sha256:33ce435e123643066c8ec09b76da6603c576ee1f0ee8b5ab44faa04e9d6e2743 - 0.0% (220 Bytes)

[#003] sha256:6bb1ee107b6f44cc7b185ef0bfdd56219c87e37d61e39b630a83d37558256312 - 3.84% (22.1 MB)

[#004] sha256:8137269f25ea6cfd63b89e166650a15bcc61ac1383906861f578bf36136974df - 3.85% (22.2 MB)

[#005] sha256:ad2a93d90b832e4cfa05a943842f97625f6f8aafd400464d52089757082bc539 - 0.0% (385 Bytes)

[#006] sha256:f726066142887da591e5da193211a593456cf9b119c1c893a96630f6b44a244a - 0.01% (41.3 KB)

[#007] sha256:88272ec5864b759cfcd19e2e6f62af4702495ba8d6fbd526b0019c8e0007688f - 0.0% (837 Bytes)

[#008] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)

[#009] sha256:9a68d505ff56acc1175f9ec2c9cbec352d2c1d0ca997918e65a4ef9665dc67f1 - 0.0% (780 Bytes)

[#010] sha256:fd26c06cd9696f496a517ab67bd5f779a5ebf4e554c4e6e8c4bef1a400d55851 - 0.0% (881 Bytes)

[#011] sha256:70ceb979daf8dc41bc64cae33bfffcb72b3c174d9d3ad2f10e33b4a60b353181 - 0.0% (126 Bytes)

[#012] sha256:399bdec1bcf027a6ab4382e2718fef23752e01dbdf4ce5caf3f71bdc7828f2df - 4.13% (23.8 MB)

[#013] sha256:095880a0b7df89b546e7d1e9d35eae2882a1a803e964da75b937482a40c9c82e - 4.6% (26.5 MB)


History
2026-11-04 21:23:39 UTC (debuerreotype 0.17)

# debian.sh --arch 'amd64' out/ 'trixie' '@1793827419'

2026-11-08 01:08:23 UTC (buildkit.dockerfile.v0)

ENV DEBIAN_FRONTEND=noninteractive

2026-11-08 01:08:23 UTC (buildkit.dockerfile.v0)

ENV TZ=Asia/Shanghai

2026-11-08 01:08:23 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends ca-certificates libreoffice-core libreoffice-writer libreoffice-calc libreoffice-impress openjdk-21-jre ghostscript fonts-droid-fallback fonts-noto-cjk fonts-arphic-uming fonts-arphic-ukai fonts-wqy-zenhei fonts-wqy-microhei fonts-dejavu-core fonts-liberation2 fonts-urw-base35 gsfonts fontconfig && fc-cache -f && apt-get clean && rm -rf /var/lib/apt/lists/* # buildkit

2026-11-08 01:08:23 UTC (buildkit.dockerfile.v0)

ENV HOME=/root

2026-11-08 01:08:23 UTC (buildkit.dockerfile.v0)

ENV XDG_CACHE_HOME=/root/.cache

2026-11-08 01:08:23 UTC (buildkit.dockerfile.v0)

ENV DCONF_USER_CONFIG_DIR=/root/.config/dconf

2026-11-08 01:08:23 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c mkdir -p /root/.cache/dconf /root/.config/libreoffice /root/.local/share/libreoffice && chmod 700 /root/.cache/dconf # buildkit

2026-11-15 12:08:48 UTC (buildkit.dockerfile.v0)

COPY docker-fonts/ /tmp/docker-fonts/ # buildkit

2026-11-15 12:08:50 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c mkdir -p /usr/share/fonts/truetype/custom && find /tmp/docker-fonts -type f \( -iname '*.ttf' -o -iname '*.ttc' -o -iname '*.otf' \) -exec cp {} /usr/share/fonts/truetype/custom/ \; && fc-cache -f /usr/share/fonts/truetype/custom 2>/dev/null || true # buildkit

2026-11-15 12:08:51 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c cp /tmp/docker-fonts/fontconfig-chinese.conf /etc/fonts/conf.d/05-custom-chinese-fonts.conf 2>/dev/null || true # buildkit

2026-11-15 12:08:53 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c fc-cache -f 2>/dev/null || true # buildkit

2026-11-15 12:08:54 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c mkdir -p /etc/ghostscript && cp /tmp/docker-fonts/cidfmap.local /etc/ghostscript/cidfmap.local && rm -rf /tmp/docker-fonts # buildkit

2026-11-15 12:08:54 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c test -s /etc/ghostscript/cidfmap.local && echo "[dockerfile] cidfmap.local size: $(wc -c < /etc/ghostscript/cidfmap.local) bytes" && entries=$(grep -cE '^/#' /etc/ghostscript/cidfmap.local) && echo "[dockerfile] cidfmap.local entries: $entries (expect 8)" && test "$entries" = "8" # buildkit

2026-11-15 12:08:54 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c if [ -f /usr/share/fonts/truetype/custom/simsun.ttf ]; then sed -i 's|/usr/share/fonts/truetype/arphic/uming.ttc) /SubfontID 0|/usr/share/fonts/truetype/custom/simsun.ttf) /SubfontID 0|g' /etc/ghostscript/cidfmap.local; echo "[dockerfile] cidfmap: simsun.ttf mapped (宋体 Regular+Bold, 仿宋 pending)"; fi && if [ -f /usr/share/fonts/truetype/custom/simhei.ttf ]; then sed -i 's|/usr/share/fonts/truetype/wqy/wqy-zenhei.ttc) /SubfontID 0|/usr/share/fonts/truetype/custom/simhei.ttf) /SubfontID 0|g' /etc/ghostscript/cidfmap.local; echo "[dockerfile] cidfmap: simhei.ttf mapped (黑体 Regular+Bold)"; fi && if [ -f /usr/share/fonts/truetype/custom/simkai.ttf ]; then sed -i 's|/usr/share/fonts/truetype/arphic/ukai.ttc) /SubfontID 0|/usr/share/fonts/truetype/custom/simkai.ttf) /SubfontID 0|g' /etc/ghostscript/cidfmap.local; echo "[dockerfile] cidfmap: simkai.ttf mapped (楷体 Regular+Bold)"; fi && if [ -f /usr/share/fonts/truetype/custom/simfang.ttf ]; then sed -i '/^\/#b7#c2#cb#ce[, ]/s|/usr/share/fonts/truetype/custom/simsun.ttf) /SubfontID 0|/usr/share/fonts/truetype/custom/simfang.ttf) /SubfontID 0|' /etc/ghostscript/cidfmap.local; sed -i '/^\/#b7#c2#cb#ce[, ]/s|/usr/share/fonts/truetype/arphic/uming.ttc) /SubfontID 0|/usr/share/fonts/truetype/custom/simfang.ttf) /SubfontID 0|' /etc/ghostscript/cidfmap.local; echo "[dockerfile] cidfmap: simfang.ttf mapped (仿宋 Regular+Bold)"; fi # buildkit

2026-11-15 12:08:54 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c GS_INIT_DIR=$(find /usr/share/ghostscript -path "*/Resource/Init" -type d | head -1) && if [ -n "$GS_INIT_DIR" ] && [ -f /etc/ghostscript/cidfmap.local ]; then cp /etc/ghostscript/cidfmap.local "$GS_INIT_DIR/cidfmap" && echo "[dockerfile] cidfmap.local -> $GS_INIT_DIR/cidfmap"; fi # buildkit

2026-11-15 12:08:54 UTC (buildkit.dockerfile.v0)

ENV LISTEN_ADDR=:8080

2026-11-15 12:08:54 UTC (buildkit.dockerfile.v0)

ENV DB_PATH=/data/cups-web.db

2026-11-15 12:08:54 UTC (buildkit.dockerfile.v0)

ENV UPLOAD_DIR=/uploads

2026-11-15 12:08:54 UTC (buildkit.dockerfile.v0)

ENV SCAN_DIR=/scans

2026-11-15 12:08:54 UTC (buildkit.dockerfile.v0)

ENV SCAN_DEVICES_CACHE_TTL=0

2026-11-15 12:36:58 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c mkdir -p /data /uploads /scans && test ! -e /usr/sbin/cupsd # buildkit

2026-11-15 12:36:58 UTC (buildkit.dockerfile.v0)

COPY /out/cups-web /cups-web # buildkit

2026-11-15 12:36:58 UTC (buildkit.dockerfile.v0)

COPY /src/ofd-converter/target/ofd-converter.jar /ofd-converter.jar # buildkit

2026-11-15 12:36:58 UTC (buildkit.dockerfile.v0)

EXPOSE [8080/tcp]

2026-11-15 12:36:58 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["/cups-web"]

Details
Created

2026-11-15 12:36:58 UTC

Size

544 MB

Content Digest
Environment
DB_PATH

/data/cups-web.db

DCONF_USER_CONFIG_DIR

/root/.config/dconf

DEBIAN_FRONTEND

noninteractive

HOME

/root

LISTEN_ADDR

:8080

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

SCAN_DEVICES_CACHE_TTL

0

SCAN_DIR

/scans

TZ

Asia/Shanghai

UPLOAD_DIR

/uploads

XDG_CACHE_HOME

/root/.cache


Layers

[#000] sha256:0b78a5fe7810b9342d6d9e33a1bae5b9a7b92e5a742e413e190b32a7b0b3cfb5 - 4.61% (25.1 MB)

[#001] sha256:735385d7f48f5c1dbb1547923afa0a1b8925d99296143371a6b7b9651be51264 - 78.05% (424 MB)

[#002] sha256:6b938b12099e6f1e0f76f38dd3be88d91835ec6174d47b74d3cff2676db28cd3 - 0.0% (220 Bytes)

[#003] sha256:35a39b12dd89ca159bacf36dd58fcb8a9c5bde6f14bb4ecea6be56b8193e2c19 - 4.07% (22.1 MB)

[#004] sha256:72d787df1cfad8df71caf28615e44cbb62b05ce083fe0105b27b8ff4e55b4a8e - 4.08% (22.2 MB)

[#005] sha256:78b3f0b46ef5e723b76287dea98c5785717915c19626a0e0ff4397bc0482744a - 0.0% (385 Bytes)

[#006] sha256:439ff9fd298ef544dd9c608f0757380a44fce5474b0977c5fadcdad3b5b08bfa - 0.01% (40.6 KB)

[#007] sha256:02474fab4185677fdbcaec2fdd0c386cfd0f8e44ba2c3c28e7b9fe6fd1e6c0d7 - 0.0% (842 Bytes)

[#008] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)

[#009] sha256:983c7dc6c89060183da037db8be4e4827761ad33081a6b4931c8eea285ce2dd9 - 0.0% (782 Bytes)

[#010] sha256:c05c17f4b416d8174f0c7e8e05c71423f6b71d93de6fe678655c2e7267669b8d - 0.0% (877 Bytes)

[#011] sha256:70ceb979daf8dc41bc64cae33bfffcb72b3c174d9d3ad2f10e33b4a60b353181 - 0.0% (126 Bytes)

[#012] sha256:e42b87ff3c7de8d76ea3bb9f625f7e1dbb462fccbe6271e4f90982d211bc9cd8 - 4.31% (23.5 MB)

[#013] sha256:095880a0b7df89b546e7d1e9d35eae2882a1a803e964da75b937482a40c9c82e - 4.87% (26.5 MB)


History
2026-11-04 21:23:39 UTC (debuerreotype 0.17)

# debian.sh --arch 'armhf' out/ 'trixie' '@1793827419'

2026-11-08 01:27:06 UTC (buildkit.dockerfile.v0)

ENV DEBIAN_FRONTEND=noninteractive

2026-11-08 01:27:06 UTC (buildkit.dockerfile.v0)

ENV TZ=Asia/Shanghai

2026-11-08 01:27:06 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends ca-certificates libreoffice-core libreoffice-writer libreoffice-calc libreoffice-impress openjdk-21-jre ghostscript fonts-droid-fallback fonts-noto-cjk fonts-arphic-uming fonts-arphic-ukai fonts-wqy-zenhei fonts-wqy-microhei fonts-dejavu-core fonts-liberation2 fonts-urw-base35 gsfonts fontconfig && fc-cache -f && apt-get clean && rm -rf /var/lib/apt/lists/* # buildkit

2026-11-08 01:27:06 UTC (buildkit.dockerfile.v0)

ENV HOME=/root

2026-11-08 01:27:06 UTC (buildkit.dockerfile.v0)

ENV XDG_CACHE_HOME=/root/.cache

2026-11-08 01:27:06 UTC (buildkit.dockerfile.v0)

ENV DCONF_USER_CONFIG_DIR=/root/.config/dconf

2026-11-08 01:27:07 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c mkdir -p /root/.cache/dconf /root/.config/libreoffice /root/.local/share/libreoffice && chmod 700 /root/.cache/dconf # buildkit

2026-11-15 12:08:27 UTC (buildkit.dockerfile.v0)

COPY docker-fonts/ /tmp/docker-fonts/ # buildkit

2026-11-15 12:08:41 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c mkdir -p /usr/share/fonts/truetype/custom && find /tmp/docker-fonts -type f \( -iname '*.ttf' -o -iname '*.ttc' -o -iname '*.otf' \) -exec cp {} /usr/share/fonts/truetype/custom/ \; && fc-cache -f /usr/share/fonts/truetype/custom 2>/dev/null || true # buildkit

2026-11-15 12:08:42 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c cp /tmp/docker-fonts/fontconfig-chinese.conf /etc/fonts/conf.d/05-custom-chinese-fonts.conf 2>/dev/null || true # buildkit

2026-11-15 12:08:50 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c fc-cache -f 2>/dev/null || true # buildkit

2026-11-15 12:08:51 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c mkdir -p /etc/ghostscript && cp /tmp/docker-fonts/cidfmap.local /etc/ghostscript/cidfmap.local && rm -rf /tmp/docker-fonts # buildkit

2026-11-15 12:08:51 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c test -s /etc/ghostscript/cidfmap.local && echo "[dockerfile] cidfmap.local size: $(wc -c < /etc/ghostscript/cidfmap.local) bytes" && entries=$(grep -cE '^/#' /etc/ghostscript/cidfmap.local) && echo "[dockerfile] cidfmap.local entries: $entries (expect 8)" && test "$entries" = "8" # buildkit

2026-11-15 12:08:52 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c if [ -f /usr/share/fonts/truetype/custom/simsun.ttf ]; then sed -i 's|/usr/share/fonts/truetype/arphic/uming.ttc) /SubfontID 0|/usr/share/fonts/truetype/custom/simsun.ttf) /SubfontID 0|g' /etc/ghostscript/cidfmap.local; echo "[dockerfile] cidfmap: simsun.ttf mapped (宋体 Regular+Bold, 仿宋 pending)"; fi && if [ -f /usr/share/fonts/truetype/custom/simhei.ttf ]; then sed -i 's|/usr/share/fonts/truetype/wqy/wqy-zenhei.ttc) /SubfontID 0|/usr/share/fonts/truetype/custom/simhei.ttf) /SubfontID 0|g' /etc/ghostscript/cidfmap.local; echo "[dockerfile] cidfmap: simhei.ttf mapped (黑体 Regular+Bold)"; fi && if [ -f /usr/share/fonts/truetype/custom/simkai.ttf ]; then sed -i 's|/usr/share/fonts/truetype/arphic/ukai.ttc) /SubfontID 0|/usr/share/fonts/truetype/custom/simkai.ttf) /SubfontID 0|g' /etc/ghostscript/cidfmap.local; echo "[dockerfile] cidfmap: simkai.ttf mapped (楷体 Regular+Bold)"; fi && if [ -f /usr/share/fonts/truetype/custom/simfang.ttf ]; then sed -i '/^\/#b7#c2#cb#ce[, ]/s|/usr/share/fonts/truetype/custom/simsun.ttf) /SubfontID 0|/usr/share/fonts/truetype/custom/simfang.ttf) /SubfontID 0|' /etc/ghostscript/cidfmap.local; sed -i '/^\/#b7#c2#cb#ce[, ]/s|/usr/share/fonts/truetype/arphic/uming.ttc) /SubfontID 0|/usr/share/fonts/truetype/custom/simfang.ttf) /SubfontID 0|' /etc/ghostscript/cidfmap.local; echo "[dockerfile] cidfmap: simfang.ttf mapped (仿宋 Regular+Bold)"; fi # buildkit

2026-11-15 12:08:52 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c GS_INIT_DIR=$(find /usr/share/ghostscript -path "*/Resource/Init" -type d | head -1) && if [ -n "$GS_INIT_DIR" ] && [ -f /etc/ghostscript/cidfmap.local ]; then cp /etc/ghostscript/cidfmap.local "$GS_INIT_DIR/cidfmap" && echo "[dockerfile] cidfmap.local -> $GS_INIT_DIR/cidfmap"; fi # buildkit

2026-11-15 12:08:52 UTC (buildkit.dockerfile.v0)

ENV LISTEN_ADDR=:8080

2026-11-15 12:08:52 UTC (buildkit.dockerfile.v0)

ENV DB_PATH=/data/cups-web.db

2026-11-15 12:08:52 UTC (buildkit.dockerfile.v0)

ENV UPLOAD_DIR=/uploads

2026-11-15 12:08:52 UTC (buildkit.dockerfile.v0)

ENV SCAN_DIR=/scans

2026-11-15 12:08:52 UTC (buildkit.dockerfile.v0)

ENV SCAN_DEVICES_CACHE_TTL=0

2026-11-15 12:36:58 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c mkdir -p /data /uploads /scans && test ! -e /usr/sbin/cupsd # buildkit

2026-11-15 12:36:58 UTC (buildkit.dockerfile.v0)

COPY /out/cups-web /cups-web # buildkit

2026-11-15 12:36:58 UTC (buildkit.dockerfile.v0)

COPY /src/ofd-converter/target/ofd-converter.jar /ofd-converter.jar # buildkit

2026-11-15 12:36:58 UTC (buildkit.dockerfile.v0)

EXPOSE [8080/tcp]

2026-11-15 12:36:58 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["/cups-web"]

Details
Created

2026-11-15 12:36:58 UTC

Size

567 MB

Content Digest
Environment
DB_PATH

/data/cups-web.db

DCONF_USER_CONFIG_DIR

/root/.config/dconf

DEBIAN_FRONTEND

noninteractive

HOME

/root

LISTEN_ADDR

:8080

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

SCAN_DEVICES_CACHE_TTL

0

SCAN_DIR

/scans

TZ

Asia/Shanghai

UPLOAD_DIR

/uploads

XDG_CACHE_HOME

/root/.cache


Layers

[#000] sha256:acd43e9bebc37bc4ba7a5f47bd7598913337803e53d468f37d940f11f5d5f1ef - 5.08% (28.8 MB)

[#001] sha256:6aa51df9d3b8e8f3fe843b7fb025b584ff3f2dfedd8c02059f39d14e837be67d - 78.33% (444 MB)

[#002] sha256:6de31dcad03b969a15eba4d9f41bee1c1d23b11ed48938f3ee679e8ada1c892e - 0.0% (218 Bytes)

[#003] sha256:e0dd8983e30d4c49ee8cf9abe2ff96a6446c860653ece1cffd9daaa604183b4e - 3.9% (22.1 MB)

[#004] sha256:779024e056bf521619dd128868c3c9353ed6ccd52354675ac2056a91f9b44ff3 - 3.91% (22.2 MB)

[#005] sha256:3aa56c387789d70392d5c6c8835a8ae7dae8cd1ad31c2f54ac2b64f04a3dc073 - 0.0% (385 Bytes)

[#006] sha256:e6ea1b11150c817f38e0f03c6dff961614d708c7703cbadd810acf89eb5d4467 - 0.01% (41.3 KB)

[#007] sha256:c735b0168efaa810248e0853f8a6bd4134a189fadca3e973d2883d6d14182313 - 0.0% (842 Bytes)

[#008] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)

[#009] sha256:c76aea859fa45f27dd78c828e56b1b46ba8c6622ba8afe13b25296f3334b6383 - 0.0% (783 Bytes)

[#010] sha256:4db6e9fbd0e333699d6147e0f6dd7fbc2335baf5cc77c42a8353445c33443d70 - 0.0% (880 Bytes)

[#011] sha256:70ceb979daf8dc41bc64cae33bfffcb72b3c174d9d3ad2f10e33b4a60b353181 - 0.0% (126 Bytes)

[#012] sha256:15dd3a5cb64a4f1c4050d3feb25cd2c1a55e07cad104a677b397d6e8f78cad4e - 4.09% (23.2 MB)

[#013] sha256:095880a0b7df89b546e7d1e9d35eae2882a1a803e964da75b937482a40c9c82e - 4.67% (26.5 MB)


History
2026-11-04 21:23:39 UTC (debuerreotype 0.17)

# debian.sh --arch 'arm64' out/ 'trixie' '@1793827419'

2026-11-08 01:29:54 UTC (buildkit.dockerfile.v0)

ENV DEBIAN_FRONTEND=noninteractive

2026-11-08 01:29:54 UTC (buildkit.dockerfile.v0)

ENV TZ=Asia/Shanghai

2026-11-08 01:29:54 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends ca-certificates libreoffice-core libreoffice-writer libreoffice-calc libreoffice-impress openjdk-21-jre ghostscript fonts-droid-fallback fonts-noto-cjk fonts-arphic-uming fonts-arphic-ukai fonts-wqy-zenhei fonts-wqy-microhei fonts-dejavu-core fonts-liberation2 fonts-urw-base35 gsfonts fontconfig && fc-cache -f && apt-get clean && rm -rf /var/lib/apt/lists/* # buildkit

2026-11-08 01:29:54 UTC (buildkit.dockerfile.v0)

ENV HOME=/root

2026-11-08 01:29:54 UTC (buildkit.dockerfile.v0)

ENV XDG_CACHE_HOME=/root/.cache

2026-11-08 01:29:54 UTC (buildkit.dockerfile.v0)

ENV DCONF_USER_CONFIG_DIR=/root/.config/dconf

2026-11-08 01:29:55 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c mkdir -p /root/.cache/dconf /root/.config/libreoffice /root/.local/share/libreoffice && chmod 700 /root/.cache/dconf # buildkit

2026-11-15 12:08:26 UTC (buildkit.dockerfile.v0)

COPY docker-fonts/ /tmp/docker-fonts/ # buildkit

2026-11-15 12:08:42 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c mkdir -p /usr/share/fonts/truetype/custom && find /tmp/docker-fonts -type f \( -iname '*.ttf' -o -iname '*.ttc' -o -iname '*.otf' \) -exec cp {} /usr/share/fonts/truetype/custom/ \; && fc-cache -f /usr/share/fonts/truetype/custom 2>/dev/null || true # buildkit

2026-11-15 12:08:42 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c cp /tmp/docker-fonts/fontconfig-chinese.conf /etc/fonts/conf.d/05-custom-chinese-fonts.conf 2>/dev/null || true # buildkit

2026-11-15 12:08:52 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c fc-cache -f 2>/dev/null || true # buildkit

2026-11-15 12:08:53 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c mkdir -p /etc/ghostscript && cp /tmp/docker-fonts/cidfmap.local /etc/ghostscript/cidfmap.local && rm -rf /tmp/docker-fonts # buildkit

2026-11-15 12:08:53 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c test -s /etc/ghostscript/cidfmap.local && echo "[dockerfile] cidfmap.local size: $(wc -c < /etc/ghostscript/cidfmap.local) bytes" && entries=$(grep -cE '^/#' /etc/ghostscript/cidfmap.local) && echo "[dockerfile] cidfmap.local entries: $entries (expect 8)" && test "$entries" = "8" # buildkit

2026-11-15 12:08:54 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c if [ -f /usr/share/fonts/truetype/custom/simsun.ttf ]; then sed -i 's|/usr/share/fonts/truetype/arphic/uming.ttc) /SubfontID 0|/usr/share/fonts/truetype/custom/simsun.ttf) /SubfontID 0|g' /etc/ghostscript/cidfmap.local; echo "[dockerfile] cidfmap: simsun.ttf mapped (宋体 Regular+Bold, 仿宋 pending)"; fi && if [ -f /usr/share/fonts/truetype/custom/simhei.ttf ]; then sed -i 's|/usr/share/fonts/truetype/wqy/wqy-zenhei.ttc) /SubfontID 0|/usr/share/fonts/truetype/custom/simhei.ttf) /SubfontID 0|g' /etc/ghostscript/cidfmap.local; echo "[dockerfile] cidfmap: simhei.ttf mapped (黑体 Regular+Bold)"; fi && if [ -f /usr/share/fonts/truetype/custom/simkai.ttf ]; then sed -i 's|/usr/share/fonts/truetype/arphic/ukai.ttc) /SubfontID 0|/usr/share/fonts/truetype/custom/simkai.ttf) /SubfontID 0|g' /etc/ghostscript/cidfmap.local; echo "[dockerfile] cidfmap: simkai.ttf mapped (楷体 Regular+Bold)"; fi && if [ -f /usr/share/fonts/truetype/custom/simfang.ttf ]; then sed -i '/^\/#b7#c2#cb#ce[, ]/s|/usr/share/fonts/truetype/custom/simsun.ttf) /SubfontID 0|/usr/share/fonts/truetype/custom/simfang.ttf) /SubfontID 0|' /etc/ghostscript/cidfmap.local; sed -i '/^\/#b7#c2#cb#ce[, ]/s|/usr/share/fonts/truetype/arphic/uming.ttc) /SubfontID 0|/usr/share/fonts/truetype/custom/simfang.ttf) /SubfontID 0|' /etc/ghostscript/cidfmap.local; echo "[dockerfile] cidfmap: simfang.ttf mapped (仿宋 Regular+Bold)"; fi # buildkit

2026-11-15 12:08:55 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c GS_INIT_DIR=$(find /usr/share/ghostscript -path "*/Resource/Init" -type d | head -1) && if [ -n "$GS_INIT_DIR" ] && [ -f /etc/ghostscript/cidfmap.local ]; then cp /etc/ghostscript/cidfmap.local "$GS_INIT_DIR/cidfmap" && echo "[dockerfile] cidfmap.local -> $GS_INIT_DIR/cidfmap"; fi # buildkit

2026-11-15 12:08:55 UTC (buildkit.dockerfile.v0)

ENV LISTEN_ADDR=:8080

2026-11-15 12:08:55 UTC (buildkit.dockerfile.v0)

ENV DB_PATH=/data/cups-web.db

2026-11-15 12:08:55 UTC (buildkit.dockerfile.v0)

ENV UPLOAD_DIR=/uploads

2026-11-15 12:08:55 UTC (buildkit.dockerfile.v0)

ENV SCAN_DIR=/scans

2026-11-15 12:08:55 UTC (buildkit.dockerfile.v0)

ENV SCAN_DEVICES_CACHE_TTL=0

2026-11-15 12:36:58 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c mkdir -p /data /uploads /scans && test ! -e /usr/sbin/cupsd # buildkit

2026-11-15 12:36:58 UTC (buildkit.dockerfile.v0)

COPY /out/cups-web /cups-web # buildkit

2026-11-15 12:36:58 UTC (buildkit.dockerfile.v0)

COPY /src/ofd-converter/target/ofd-converter.jar /ofd-converter.jar # buildkit

2026-11-15 12:36:58 UTC (buildkit.dockerfile.v0)

EXPOSE [8080/tcp]

2026-11-15 12:36:58 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["/cups-web"]

Danger Zone
Delete Tag

Please be careful as this will not just delete the reference but also the actual content!

For example when you have latest and v1.2.3 both pointing to the same image
the deletion of latest will also permanently remove v1.2.3.

Delete