镜像构建历史
# 2025-02-07 21:42:09 0.00B 设置默认要执行的命令
CMD ["java" "-Dfile.encoding=UTF-8" "-jar" "/app.jar"]
# 2025-02-07 21:42:09 0.00B 配置容器启动时运行的命令
ENTRYPOINT ["tini" "--" "/scripts/init.sh"]
# 2025-02-07 21:42:09 0.00B 声明容器运行时监听的端口
EXPOSE map[8080/tcp:{}]
# 2025-02-07 21:42:09 1.66GB 执行命令并创建新的镜像层
RUN |1 VERSION_TAG=0.41.0 /bin/sh -c echo "@testing https://dl-cdn.alpinelinux.org/alpine/edge/main" | tee -a /etc/apk/repositories && echo "@testing https://dl-cdn.alpinelinux.org/alpine/edge/community" | tee -a /etc/apk/repositories && echo "@testing https://dl-cdn.alpinelinux.org/alpine/edge/testing" | tee -a /etc/apk/repositories && apk upgrade --no-cache -a && apk add --no-cache ca-certificates tzdata tini bash curl qpdf shadow su-exec openssl openssl-dev openjdk21-jre gcompat libc6-compat libreoffice poppler-utils tesseract-ocr-data-eng py3-opencv python3 py3-pip && pip install --break-system-packages --no-cache-dir --upgrade unoconv WeasyPrint pdf2image pillow && mv /usr/share/tessdata /usr/share/tessdata-original && mkdir -p $HOME /configs /logs /customFiles /pipeline/watchedFolders /pipeline/finishedFolders && fc-cache -f -v && chmod +x /scripts/* && chmod +x /scripts/init.sh && addgroup -S stirlingpdfgroup && adduser -S stirlingpdfuser -G stirlingpdfgroup && chown -R stirlingpdfuser:stirlingpdfgroup $HOME /scripts /usr/share/fonts/opentype/noto /configs /customFiles /pipeline && chown stirlingpdfuser:stirlingpdfgroup /app.jar # buildkit
# 2025-02-07 21:42:09 0.00B 设置环境变量 DOCKER_ENABLE_SECURITY VERSION_TAG JAVA_TOOL_OPTIONS -XX:MaxRAMPercentage -XX:InitiatingHeapOccupancyPercent -XX:G1PeriodicGCInterval -XX:G1PeriodicGCSystemLoadThreshold HOME PUID PGID UMASK
ENV DOCKER_ENABLE_SECURITY=false VERSION_TAG=0.41.0 JAVA_TOOL_OPTIONS=-XX:+UnlockExperimentalVMOptions -XX:MaxRAMPercentage=75 -XX:InitiatingHeapOccupancyPercent=20 -XX:+G1PeriodicGCInvokesConcurrent -XX:G1PeriodicGCInterval=10000 -XX:+UseStringDeduplication -XX:G1PeriodicGCSystemLoadThreshold=70 HOME=/home/stirlingpdfuser PUID=1000 PGID=1000 UMASK=022
# 2025-02-07 21:42:09 0.00B 添加元数据标签
LABEL org.opencontainers.image.keywords=PDF, manipulation, merge, split, convert, OCR, watermark
# 2025-02-07 21:42:09 0.00B 添加元数据标签
LABEL org.opencontainers.image.version=0.41.0
# 2025-02-07 21:42:09 0.00B 添加元数据标签
LABEL org.opencontainers.image.authors=Stirling-Tools
# 2025-02-07 21:42:09 0.00B 添加元数据标签
LABEL maintainer=Stirling-Tools
# 2025-02-07 21:42:09 0.00B 添加元数据标签
LABEL org.opencontainers.image.documentation=https://docs.stirlingpdf.com
# 2025-02-07 21:42:09 0.00B 添加元数据标签
LABEL org.opencontainers.image.url=https://www.stirlingpdf.com
# 2025-02-07 21:42:09 0.00B 添加元数据标签
LABEL org.opencontainers.image.vendor=Stirling-Tools
# 2025-02-07 21:42:09 0.00B 添加元数据标签
LABEL org.opencontainers.image.licenses=MIT
# 2025-02-07 21:42:09 0.00B 添加元数据标签
LABEL org.opencontainers.image.source=https://github.com/Stirling-Tools/Stirling-PDF
# 2025-02-07 21:42:09 0.00B 添加元数据标签
LABEL org.opencontainers.image.description=A powerful locally hosted web-based PDF manipulation tool supporting 50+ operations including merging, splitting, conversion, OCR, watermarking, and more.
# 2025-02-07 21:42:09 0.00B 添加元数据标签
LABEL org.opencontainers.image.title=Stirling-PDF
# 2025-02-07 21:42:09 0.00B 定义构建参数
ARG VERSION_TAG=0.41.0
# 2025-02-07 21:41:46 109.32MB 复制新文件或目录到容器中
COPY build/libs/*.jar app.jar # buildkit
# 2025-01-22 18:43:02 28.35MB 复制新文件或目录到容器中
COPY src/main/resources/static/fonts/*.ttf /usr/share/fonts/opentype/noto/ # buildkit
# 2025-01-22 18:43:02 2.70KB 复制新文件或目录到容器中
COPY pipeline /pipeline # buildkit
# 2025-01-22 18:43:02 32.82KB 复制新文件或目录到容器中
COPY scripts /scripts # buildkit
# 2025-01-08 20:07:30 0.00B 设置默认要执行的命令
CMD ["/bin/sh"]
# 2025-01-08 20:07:30 7.83MB 复制文件或目录到容器中
ADD alpine-minirootfs-3.21.2-x86_64.tar.gz / # buildkit
镜像信息
{
"Id": "sha256:671504307cdf236fe2d98faf8b2d2dbc19bcb79da71c14849d689f4153fe5857",
"RepoTags": [
"ghcr.io/stirling-tools/s-pdf:0.41.0",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/stirling-tools/s-pdf:0.41.0"
],
"RepoDigests": [
"ghcr.io/stirling-tools/s-pdf@sha256:a570b6f6522d49fbef616e4fef97f7aff35ce046daee16de4e2fa4699a042d33",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/stirling-tools/s-pdf@sha256:5373af69a4c27a7042af54506c8ea435b4e5e6e85e1c77e91e0cf5b5f8949f20"
],
"Parent": "",
"Comment": "buildkit.dockerfile.v0",
"Created": "2025-02-07T13:42:09.252026698Z",
"Container": "",
"ContainerConfig": null,
"DockerVersion": "",
"Author": "",
"Config": {
"Hostname": "",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"ExposedPorts": {
"8080/tcp": {}
},
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"DOCKER_ENABLE_SECURITY=false",
"VERSION_TAG=0.41.0",
"JAVA_TOOL_OPTIONS=-XX:+UnlockExperimentalVMOptions -XX:MaxRAMPercentage=75 -XX:InitiatingHeapOccupancyPercent=20 -XX:+G1PeriodicGCInvokesConcurrent -XX:G1PeriodicGCInterval=10000 -XX:+UseStringDeduplication -XX:G1PeriodicGCSystemLoadThreshold=70",
"HOME=/home/stirlingpdfuser",
"PUID=1000",
"PGID=1000",
"UMASK=022"
],
"Cmd": [
"java",
"-Dfile.encoding=UTF-8",
"-jar",
"/app.jar"
],
"ArgsEscaped": true,
"Image": "",
"Volumes": null,
"WorkingDir": "/",
"Entrypoint": [
"tini",
"--",
"/scripts/init.sh"
],
"OnBuild": null,
"Labels": {
"maintainer": "Stirling-Tools",
"org.opencontainers.image.authors": "Stirling-Tools",
"org.opencontainers.image.created": "2025-02-07T13:41:41.448Z",
"org.opencontainers.image.description": "#1 Locally hosted web application that allows you to perform various operations on PDF files",
"org.opencontainers.image.documentation": "https://docs.stirlingpdf.com",
"org.opencontainers.image.keywords": "PDF, manipulation, merge, split, convert, OCR, watermark",
"org.opencontainers.image.licenses": "MIT",
"org.opencontainers.image.revision": "6a3064f7f2baa9db871dd7f8a8e082ea1b3c1163",
"org.opencontainers.image.source": "https://github.com/Stirling-Tools/Stirling-PDF",
"org.opencontainers.image.title": "Stirling-PDF",
"org.opencontainers.image.url": "https://github.com/Stirling-Tools/Stirling-PDF",
"org.opencontainers.image.vendor": "Stirling-Tools",
"org.opencontainers.image.version": "0.41.0"
}
},
"Architecture": "amd64",
"Os": "linux",
"Size": 1801188557,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/bdb7cf02db95a919be5b8af305862aee5a52973ebc3609e9049bd83cfef14b34/diff:/var/lib/docker/overlay2/ac60a2dfb42510e9fe82b069d9c43a537b1e3f88bb637583893de35d4dfee7e9/diff:/var/lib/docker/overlay2/b6c13898911d48ccde1adabb57c61216024fcd8226ce49bbaf90138815fdaeb5/diff:/var/lib/docker/overlay2/ac7077777b05ad44da28c55457af7060b82029e5983d6e799c6ef7715c2eac4f/diff:/var/lib/docker/overlay2/d20d579acee6b92a841ecc27f4d08dddd63e6a78b9aab3e87eac393e91dd0045/diff",
"MergedDir": "/var/lib/docker/overlay2/5030bec0b7df13f3c076560de8565b3b9b7622273def20d89365bff5174c20ee/merged",
"UpperDir": "/var/lib/docker/overlay2/5030bec0b7df13f3c076560de8565b3b9b7622273def20d89365bff5174c20ee/diff",
"WorkDir": "/var/lib/docker/overlay2/5030bec0b7df13f3c076560de8565b3b9b7622273def20d89365bff5174c20ee/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:a0904247e36a7726c03c71ee48f3e64462021c88dafeb13f37fdaf613b27f11c",
"sha256:123ce1d6ec3c569a3a90ecc4f536dcf5f359e1a18c7a327030fbc9088cbe701f",
"sha256:671947f160f98bb5a6df5e04e0585bff6a1295e97989f183b2dea250be21e715",
"sha256:f960bd914cb3e227f6e8e90e929d9e1b2c987bcf763adaaae1614e1b9f2bd0b2",
"sha256:204c9e3459a4147d6c202f48bf6a1ccb9e32c6d5f0981acf60293d9b558bed4c",
"sha256:d8444ee4c2c949f188d902a4a2dc281967d61352221c907aaa64078d3df6a326"
]
},
"Metadata": {
"LastTagTime": "2025-02-08T10:26:06.810692504+08:00"
}
}