Namespace
hanxi
Image / Tag
cups-web:v0.2.21-web
Content Digest
sha256:530421d1785978fdbbc967bd5b6a03eab97b6d342a7317abb8f0f76a564d4f5e
Details
Created

2026-10-18 09:07:22 UTC

Size

575 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:ecc510c1e359bdc007b39802570bb7e4dec7d6ebccf357c3201a74299113e05e - 4.95% (28.5 MB)

[#001] sha256:245ab3f6860fa5b12d16fe66c5bdcc354d1f01e9840a5205fc7689c71ee744f6 - 78.65% (453 MB)

[#002] sha256:cd68af40dbcccbd41f30c1718d450636caac43c6b5956c2bed4ff13d6da1e36b - 0.0% (221 Bytes)

[#003] sha256:da8a0b963c8fe633a8a02cba1ea22cc19cf5bea77db096b8172305b834892f4e - 3.85% (22.1 MB)

[#004] sha256:8112b88852dee8b84853dd92a0651de30fe6e7f50b23ff32f2d9fda2b20483e3 - 3.85% (22.1 MB)

[#005] sha256:cd8fa61d17ab0f3fc12b059ab72539e80997ce32371dcf0285b670fbd439a3fb - 0.0% (382 Bytes)

[#006] sha256:c85ead90e8344cb08d23ab0a503cc1ab480c2ad47ae5fc7dfa872e90ea2fcfc9 - 0.01% (41.4 KB)

[#007] sha256:29160fa59c4ccb92a412d12c3fdcaa347f2c91c59630e6bc8d39363831b84917 - 0.0% (1.13 KB)

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

[#009] sha256:6fff0a224b589e499fb647ffaaec2c2a4e52221d0bb84fda892e8242a445e391 - 0.0% (1.08 KB)

[#010] sha256:b5b3238c577c74384a40b7dda65deb834c85c1fe4195f19baf7e4c03989ef183 - 0.0% (1.18 KB)

[#011] sha256:c7352317efa278f95688b05e17660e3b4ede5b996616f69ac5cadfc0204491ca - 0.0% (125 Bytes)

[#012] sha256:fadadc3c0a8960dbe60727059db3e5ee94b6da566d78a22db119863037f8da16 - 4.1% (23.6 MB)

[#013] sha256:461cbed406248674416fb0bcb3d711ef8387f5dd7728b7431c8a0b1647fa1b68 - 4.6% (26.5 MB)


History
2026-10-05 00:00:00 UTC (debuerreotype 0.17)

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

2026-10-12 14:50:26 UTC (buildkit.dockerfile.v0)

ENV DEBIAN_FRONTEND=noninteractive

2026-10-12 14:50:26 UTC (buildkit.dockerfile.v0)

ENV TZ=Asia/Shanghai

2026-10-12 14:50:26 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-10-12 14:50:26 UTC (buildkit.dockerfile.v0)

ENV HOME=/root

2026-10-12 14:50:26 UTC (buildkit.dockerfile.v0)

ENV XDG_CACHE_HOME=/root/.cache

2026-10-12 14:50:26 UTC (buildkit.dockerfile.v0)

ENV DCONF_USER_CONFIG_DIR=/root/.config/dconf

2026-10-12 14:50:26 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-10-12 14:50:26 UTC (buildkit.dockerfile.v0)

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

2026-10-12 14:50:29 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-10-12 14:50:29 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-10-12 14:50:32 UTC (buildkit.dockerfile.v0)

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

2026-10-12 14:50:33 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-10-17 14:23:20 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-10-12 14:50:33 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-10-12 14:50:33 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-10-12 14:50:33 UTC (buildkit.dockerfile.v0)

ENV LISTEN_ADDR=:8080

2026-10-12 14:50:33 UTC (buildkit.dockerfile.v0)

ENV DB_PATH=/data/cups-web.db

2026-10-12 14:50:33 UTC (buildkit.dockerfile.v0)

ENV UPLOAD_DIR=/uploads

2026-10-12 14:50:33 UTC (buildkit.dockerfile.v0)

ENV SCAN_DIR=/scans

2026-10-12 14:50:33 UTC (buildkit.dockerfile.v0)

ENV SCAN_DEVICES_CACHE_TTL=0

2026-10-12 15:54:39 UTC (buildkit.dockerfile.v0)

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

2026-10-18 09:07:21 UTC (buildkit.dockerfile.v0)

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

2026-10-18 09:07:22 UTC (buildkit.dockerfile.v0)

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

2026-10-18 09:07:22 UTC (buildkit.dockerfile.v0)

EXPOSE [8080/tcp]

2026-10-18 09:07:22 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["/cups-web"]

Details
Created

2026-10-18 09:07:22 UTC

Size

543 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:300a23646f25b185ab2272dd30c5f746e1b89a5b96a25accc2ae4aa55e80f6d1 - 4.61% (25 MB)

[#001] sha256:fdf8ea40c59d1844952a0fbf76680b99b92f9f0a7050b5b3de1d96f2707041d8 - 78.08% (424 MB)

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

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

[#004] sha256:cf0807fb22bc1be813a8609e15fa93e42a9e440bcb7375c03f3e9db6afd2d769 - 4.07% (22.1 MB)

[#005] sha256:cfc2def1a69ba2f03fa0a173458251501593857b67110058360ce2f8f52398b4 - 0.0% (383 Bytes)

[#006] sha256:335c95f83ed54df007871f83cd7bc081449913634fcd8befc7b670f54af11489 - 0.01% (40.8 KB)

[#007] sha256:6a03a6f71f46f862dded9cb40fb20e15202c52b90809ca01e680338f0d993a88 - 0.0% (1.13 KB)

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

[#009] sha256:bcfac2565a610f81c206ce250120b7b3caa083ea8bde2a0b4d8a3ece2061c082 - 0.0% (1.08 KB)

[#010] sha256:9eafb4029a5b07cf0ae40507c6a9ed7f282a4e385fd9b4a7a635bd9516f982c8 - 0.0% (1.17 KB)

[#011] sha256:8b0c02fd223818849dd257fb7e2a375d3fa4531962fb671ed8cba9eead64717d - 0.0% (125 Bytes)

[#012] sha256:44083019935722abf6ec67d7dc7bde7ff331e844e8657b02ffd419a417a18d1b - 4.28% (23.2 MB)

[#013] sha256:461cbed406248674416fb0bcb3d711ef8387f5dd7728b7431c8a0b1647fa1b68 - 4.88% (26.5 MB)


History
2026-10-05 00:00:00 UTC (debuerreotype 0.17)

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

2026-10-12 15:09:57 UTC (buildkit.dockerfile.v0)

ENV DEBIAN_FRONTEND=noninteractive

2026-10-12 15:09:57 UTC (buildkit.dockerfile.v0)

ENV TZ=Asia/Shanghai

2026-10-12 15:09:57 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-10-12 15:09:57 UTC (buildkit.dockerfile.v0)

ENV HOME=/root

2026-10-12 15:09:57 UTC (buildkit.dockerfile.v0)

ENV XDG_CACHE_HOME=/root/.cache

2026-10-12 15:09:57 UTC (buildkit.dockerfile.v0)

ENV DCONF_USER_CONFIG_DIR=/root/.config/dconf

2026-10-12 15:09:58 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-10-12 15:09:58 UTC (buildkit.dockerfile.v0)

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

2026-10-12 15:10:03 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-10-12 15:10:03 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-10-12 15:10:11 UTC (buildkit.dockerfile.v0)

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

2026-10-12 15:10:12 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-10-17 14:23:20 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-10-12 15:10:14 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-10-12 15:10:14 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-10-12 15:10:14 UTC (buildkit.dockerfile.v0)

ENV LISTEN_ADDR=:8080

2026-10-12 15:10:14 UTC (buildkit.dockerfile.v0)

ENV DB_PATH=/data/cups-web.db

2026-10-12 15:10:14 UTC (buildkit.dockerfile.v0)

ENV UPLOAD_DIR=/uploads

2026-10-12 15:10:14 UTC (buildkit.dockerfile.v0)

ENV SCAN_DIR=/scans

2026-10-12 15:10:14 UTC (buildkit.dockerfile.v0)

ENV SCAN_DEVICES_CACHE_TTL=0

2026-10-18 09:07:19 UTC (buildkit.dockerfile.v0)

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

2026-10-18 09:07:20 UTC (buildkit.dockerfile.v0)

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

2026-10-18 09:07:22 UTC (buildkit.dockerfile.v0)

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

2026-10-18 09:07:22 UTC (buildkit.dockerfile.v0)

EXPOSE [8080/tcp]

2026-10-18 09:07:22 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["/cups-web"]

Details
Created

2026-10-18 09:07:22 UTC

Size

566 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:bbeda6b4abb749f743f4547ef5a28070a14de8caef211daa5afb78d5b5fa21ba - 5.08% (28.8 MB)

[#001] sha256:3654f2dbac14e801546f9a01cc29685204df49003269a194429d2e51c823031a - 78.36% (444 MB)

[#002] sha256:7ddd9e27234af360ca4b5fba974b0af6a1f073fc42a6768c987b0cf8556a30e4 - 0.0% (221 Bytes)

[#003] sha256:ea932ab4a4dd245f16020e6d34103daa0763bdb3109188cefad51e02f9b5aa32 - 3.91% (22.1 MB)

[#004] sha256:cbd5b3e07e7ce99a4dcb5a60db9e1ab9a6fcd9bb4c60310a9ee974c3cf3c6a80 - 3.91% (22.1 MB)

[#005] sha256:f52cf8fb9110bb62edfe91be1bfe9be87f28e45dd3afb7774bce2db330eebad7 - 0.0% (382 Bytes)

[#006] sha256:b9694dd02f3e17015ee834720a3ec482fe17a10f794c9ea9ee623e315ec722bf - 0.01% (41.5 KB)

[#007] sha256:d9be0d4d8d75738a183224ffe5a031af9010f2a5ecf108e85485f9780352fdf4 - 0.0% (1.13 KB)

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

[#009] sha256:d607a160be9c11b39393bc89c05b98e0abb1b9369ffa13e50f3878a0d2577bab - 0.0% (1.08 KB)

[#010] sha256:619dc17ba262572a02d649b523d09f251d40ab618fdff9166c578a9290239790 - 0.0% (1.18 KB)

[#011] sha256:8b0c02fd223818849dd257fb7e2a375d3fa4531962fb671ed8cba9eead64717d - 0.0% (125 Bytes)

[#012] sha256:831a56ccf5ac86ea4e3c05fcad58730079431fca6c5609b5c94aac6806efabb4 - 4.06% (23 MB)

[#013] sha256:461cbed406248674416fb0bcb3d711ef8387f5dd7728b7431c8a0b1647fa1b68 - 4.68% (26.5 MB)


History
2026-10-05 00:00:00 UTC (debuerreotype 0.17)

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

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

ENV DEBIAN_FRONTEND=noninteractive

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

ENV TZ=Asia/Shanghai

2026-10-12 15:12: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-10-12 15:12:54 UTC (buildkit.dockerfile.v0)

ENV HOME=/root

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

ENV XDG_CACHE_HOME=/root/.cache

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

ENV DCONF_USER_CONFIG_DIR=/root/.config/dconf

2026-10-12 15:12:57 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-10-12 15:12:57 UTC (buildkit.dockerfile.v0)

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

2026-10-12 15:13:02 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-10-12 15:13:02 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-10-12 15:13:13 UTC (buildkit.dockerfile.v0)

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

2026-10-12 15:13:14 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-10-17 14:23:20 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-10-12 15:13:16 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-10-12 15:13:16 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-10-12 15:13:16 UTC (buildkit.dockerfile.v0)

ENV LISTEN_ADDR=:8080

2026-10-12 15:13:16 UTC (buildkit.dockerfile.v0)

ENV DB_PATH=/data/cups-web.db

2026-10-12 15:13:16 UTC (buildkit.dockerfile.v0)

ENV UPLOAD_DIR=/uploads

2026-10-12 15:13:16 UTC (buildkit.dockerfile.v0)

ENV SCAN_DIR=/scans

2026-10-12 15:13:16 UTC (buildkit.dockerfile.v0)

ENV SCAN_DEVICES_CACHE_TTL=0

2026-10-18 09:07:19 UTC (buildkit.dockerfile.v0)

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

2026-10-18 09:07:20 UTC (buildkit.dockerfile.v0)

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

2026-10-18 09:07:22 UTC (buildkit.dockerfile.v0)

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

2026-10-18 09:07:22 UTC (buildkit.dockerfile.v0)

EXPOSE [8080/tcp]

2026-10-18 09:07:22 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