镜像构建历史
# 2025-04-22 16:33:13 0.00B 设置默认要执行的命令
CMD ["/bin/bash" "-c" "/app/entrypoint.sh"]
# 2025-04-22 16:33:13 0.00B 设置环境变量 GIN_MODE
ENV GIN_MODE=release
# 2025-04-22 16:33:13 0.00B 设置环境变量 PLATFORM
ENV PLATFORM=local
# 2025-04-22 16:33:13 0.00B 设置环境变量 UV_PATH
ENV UV_PATH=/usr/local/bin/uv
# 2025-04-22 16:33:13 147.74MB 执行命令并创建新的镜像层
RUN |1 PLATFORM=local /bin/sh -c mv /usr/lib/python3.12/EXTERNALLY-MANAGED /usr/lib/python3.12/EXTERNALLY-MANAGED.bk && python3 -m pip install uv && uv pip install --system dify_plugin && python3 -c "from uv._find_uv import find_uv_bin;print(find_uv_bin());" && python3 -c "import tiktoken; encodings = ['o200k_base', 'cl100k_base', 'p50k_base', 'r50k_base', 'p50k_edit', 'gpt2']; [tiktoken.get_encoding(encoding).special_tokens_set for encoding in encodings]" # buildkit
# 2025-04-22 16:33:08 0.00B 设置环境变量 TIKTOKEN_CACHE_DIR
ENV TIKTOKEN_CACHE_DIR=/app/.tiktoken
# 2025-04-22 16:33:08 1.07GB 执行命令并创建新的镜像层
RUN |1 PLATFORM=local /bin/sh -c apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y curl python3.12 python3.12-venv python3.12-dev python3-pip ffmpeg build-essential && apt-get clean && rm -rf /var/lib/apt/lists/* && update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.12 1; # buildkit
# 2025-04-22 16:33:08 0.00B 定义构建参数
ARG PLATFORM=local
# 2025-04-22 16:32:13 0.00B 设置工作目录为/app
WORKDIR /app
# 2025-04-22 16:32:13 24.00B 复制新文件或目录到容器中
COPY /app/entrypoint.sh /app/entrypoint.sh # buildkit
# 2025-04-22 16:32:13 51.27MB 复制新文件或目录到容器中
COPY /app/main /app/main # buildkit
# 2025-04-08 18:43:15 0.00B
/bin/sh -c #(nop) CMD ["/bin/bash"]
# 2025-04-08 18:43:14 78.10MB
/bin/sh -c #(nop) ADD file:1d7c45546e94b90e941c5bf5c7a5d415d7b868581ad96171d4beb76caa8ab683 in /
# 2025-04-08 18:43:12 0.00B
/bin/sh -c #(nop) LABEL org.opencontainers.image.version=24.04
# 2025-04-08 18:43:12 0.00B
/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
# 2025-04-08 18:43:12 0.00B
/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
# 2025-04-08 18:43:12 0.00B
/bin/sh -c #(nop) ARG RELEASE
镜像信息
{
"Id": "sha256:71afc0d3ed5399a56d8822ab34c6af33cb76c00a312a24d5213f1a69fb03b686",
"RepoTags": [
"langgenius/dify-plugin-daemon:0.0.8-local",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/langgenius/dify-plugin-daemon:0.0.8-local"
],
"RepoDigests": [
"langgenius/dify-plugin-daemon@sha256:0289b54d9537b2aedfada563b2ebce8ae755fc688b7db482102fc46f37bd3961",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/langgenius/dify-plugin-daemon@sha256:f6ac4efb20e065b8d05128df8ae6e4b32a7929d6c37075f28cd79cb37113f8cd"
],
"Parent": "",
"Comment": "buildkit.dockerfile.v0",
"Created": "2025-04-22T08:33:13.925939378Z",
"Container": "",
"ContainerConfig": null,
"DockerVersion": "",
"Author": "",
"Config": {
"Hostname": "",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"TIKTOKEN_CACHE_DIR=/app/.tiktoken",
"UV_PATH=/usr/local/bin/uv",
"PLATFORM=local",
"GIN_MODE=release"
],
"Cmd": [
"/bin/bash",
"-c",
"/app/entrypoint.sh"
],
"ArgsEscaped": true,
"Image": "",
"Volumes": null,
"WorkingDir": "/app",
"Entrypoint": null,
"OnBuild": null,
"Labels": {
"org.opencontainers.image.ref.name": "ubuntu",
"org.opencontainers.image.version": "24.04"
}
},
"Architecture": "amd64",
"Os": "linux",
"Size": 1346974497,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/af371b4141b40e1430974e3aeed9c09cec6c7a0cd2198197f84d1a0482160b9d/diff:/var/lib/docker/overlay2/48dfd24ea99741f26e1d8b0cacc5f1d5fe46f060e9e720004b508d12a80c5e03/diff:/var/lib/docker/overlay2/8a5c05a7eaa2ad7010c32163b835627d4bbf769307294997d6b0926835a5602d/diff:/var/lib/docker/overlay2/a8383594b47c9fd1b136038e4db029bdf3f5005140eb1b853db79a999fd7be69/diff:/var/lib/docker/overlay2/697096b4c822b101843182ff505291800d91c80f1ac5c99f2b9cab5e17ecccf2/diff",
"MergedDir": "/var/lib/docker/overlay2/0527d22876ed6517861fd73016c957629e775b28e51f10a3559063b98b7a507a/merged",
"UpperDir": "/var/lib/docker/overlay2/0527d22876ed6517861fd73016c957629e775b28e51f10a3559063b98b7a507a/diff",
"WorkDir": "/var/lib/docker/overlay2/0527d22876ed6517861fd73016c957629e775b28e51f10a3559063b98b7a507a/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:3abdd8a5e7a8909e1509f1d36dcc8b85a0f95c68a69e6d86c6e9e3c1059d44b3",
"sha256:295ed96448d92e98bc00c5f32c73bb29134887d11b9d364ec50ac4db4c351d32",
"sha256:188e74e9aa689a5a194086a856eef01996ec922f3dcf85c824f4b7fdd25c60c5",
"sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
"sha256:1fd6c550fadbcc5a475896b35a9cb52f804db543162b4c61ae647e4a566165bb",
"sha256:204ce136ab49c9c74034b924b6c5a9a6e9bf2d442f31be451d21c59926c6cfed"
]
},
"Metadata": {
"LastTagTime": "2025-04-23T17:55:45.086468932+08:00"
}
}