镜像构建历史
# 2025-01-13 23:13:47 0.00B 设置默认要执行的命令
CMD ["java" "-Dfile.encoding=UTF-8" "-jar" "/app.jar"]
# 2025-01-13 23:13:47 0.00B 配置容器启动时运行的命令
ENTRYPOINT ["tini" "--" "/scripts/init.sh"]
# 2025-01-13 23:13:47 0.00B 声明容器运行时监听的端口
EXPOSE map[8080/tcp:{}]
# 2025-01-13 23:13:47 1.65GB 执行命令并创建新的镜像层
RUN |1 VERSION_TAG=0.37.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 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-01-13 23:13:47 0.00B 设置环境变量 DOCKER_ENABLE_SECURITY VERSION_TAG JAVA_TOOL_OPTIONS -XX:MaxRAMPercentage HOME PUID PGID UMASK
ENV DOCKER_ENABLE_SECURITY=false VERSION_TAG=0.37.0 JAVA_TOOL_OPTIONS= -XX:MaxRAMPercentage=75 HOME=/home/stirlingpdfuser PUID=1000 PGID=1000 UMASK=022
# 2025-01-13 23:13:47 0.00B 添加元数据标签
LABEL org.opencontainers.image.keywords=PDF, manipulation, merge, split, convert, OCR, watermark
# 2025-01-13 23:13:47 0.00B 添加元数据标签
LABEL org.opencontainers.image.version=0.37.0
# 2025-01-13 23:13:47 0.00B 添加元数据标签
LABEL org.opencontainers.image.authors=Stirling-Tools
# 2025-01-13 23:13:47 0.00B 添加元数据标签
LABEL maintainer=Stirling-Tools
# 2025-01-13 23:13:47 0.00B 添加元数据标签
LABEL org.opencontainers.image.documentation=https://docs.stirlingpdf.com
# 2025-01-13 23:13:47 0.00B 添加元数据标签
LABEL org.opencontainers.image.url=https://www.stirlingpdf.com
# 2025-01-13 23:13:47 0.00B 添加元数据标签
LABEL org.opencontainers.image.vendor=Stirling-Tools
# 2025-01-13 23:13:47 0.00B 添加元数据标签
LABEL org.opencontainers.image.licenses=MIT
# 2025-01-13 23:13:47 0.00B 添加元数据标签
LABEL org.opencontainers.image.source=https://github.com/Stirling-Tools/Stirling-PDF
# 2025-01-13 23:13:47 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-01-13 23:13:47 0.00B 添加元数据标签
LABEL org.opencontainers.image.title=Stirling-PDF
# 2025-01-13 23:13:47 0.00B 定义构建参数
ARG VERSION_TAG=0.37.0
# 2025-01-13 23:13:23 107.57MB 复制新文件或目录到容器中
COPY build/libs/*.jar app.jar # buildkit
# 2025-01-12 23:54:29 28.35MB 复制新文件或目录到容器中
COPY src/main/resources/static/fonts/*.ttf /usr/share/fonts/opentype/noto/ # buildkit
# 2025-01-12 23:54:28 2.70KB 复制新文件或目录到容器中
COPY pipeline /pipeline # buildkit
# 2025-01-12 23:54:28 32.74KB 复制新文件或目录到容器中
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:8c324baea514d182e25f5e71923103b7518eaf6c0dc005033384009e2184bf6a",
"RepoTags": [
"ghcr.io/stirling-tools/s-pdf:0.37.0",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/stirling-tools/s-pdf:0.37.0"
],
"RepoDigests": [
"ghcr.io/stirling-tools/s-pdf@sha256:824eb570cfc7653ff15e411d597da8bbdc84182304cb6957b12f2713b8efa256",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/stirling-tools/s-pdf@sha256:7b4a37220e538d2e79b6751e39ac556d5732aaceb224de3028c631c0c17afe12"
],
"Parent": "",
"Comment": "buildkit.dockerfile.v0",
"Created": "2025-01-13T15:13:47.544846504Z",
"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.37.0",
"JAVA_TOOL_OPTIONS= -XX:MaxRAMPercentage=75",
"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-01-13T15:13:18.560Z",
"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": "4ef118c4eb5a224430eb27cd7e99808b9bb78e8e",
"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.37.0"
}
},
"Architecture": "amd64",
"Os": "linux",
"Size": 1796612409,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/fede49fedd8516f329eb8770264511f333b7e0ec06c1c507bccf7ce41ad9181f/diff:/var/lib/docker/overlay2/d84e49f43e27fb2505597fb90e5d4651ad3f842fd3e8fbf4bc9004134a8dc5b2/diff:/var/lib/docker/overlay2/a7a549654b0f204479e7e74364fed0c1681561f65ab45fb55b88b6777186b7cb/diff:/var/lib/docker/overlay2/f1f87d5cd013cd1d361caf7c525d19f8ce03a259653036409ea7c73cb38a1ee0/diff:/var/lib/docker/overlay2/d20d579acee6b92a841ecc27f4d08dddd63e6a78b9aab3e87eac393e91dd0045/diff",
"MergedDir": "/var/lib/docker/overlay2/cee15024bf34aa0c5d09589b02316ade8203603f4a7378e640e73ddbe5f24b6f/merged",
"UpperDir": "/var/lib/docker/overlay2/cee15024bf34aa0c5d09589b02316ade8203603f4a7378e640e73ddbe5f24b6f/diff",
"WorkDir": "/var/lib/docker/overlay2/cee15024bf34aa0c5d09589b02316ade8203603f4a7378e640e73ddbe5f24b6f/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:a0904247e36a7726c03c71ee48f3e64462021c88dafeb13f37fdaf613b27f11c",
"sha256:3f2ec0e8d19602f8a20c212153e80103082ddd3b9421bcbf4de9bac0eb3979bc",
"sha256:ee700d94c80883e9b2dac55f679adfb4d0dc4ce9fd000d070d737f85cba040c0",
"sha256:f4267e1c8c050b2aaa95b10327a0db9f5630fbfe8b21220470aaa14eac6fa9e6",
"sha256:f7264b1880c5363653859268558b57819faabc13c214551c985a8b50b4b185b8",
"sha256:5848937e013cce044fb3c6bb8837ac9be2ab0fc6ca00bcbb1724cf0309362d5a"
]
},
"Metadata": {
"LastTagTime": "2025-01-14T11:55:26.912804821+08:00"
}
}