2026-10-24 13:26:21 UTC
198 MB
7169605F62C751356D054A26A821E680E5FA6305
PATH/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PIP_NO_CACHE_DIR1
PYTHONDONTWRITEBYTECODE1
PYTHONUNBUFFERED1
PYTHON_SHA2566020bd10aff3bf4821be16f088ebb1591beb7b811dcd8fab1da8f7c22a7b27e7
PYTHON_VERSION3.13.17
[#000] sha256:11422d7ca1a44390a32bd8d8d9dc5946b4d053b3bbd9507d682e35584ba84a26 - 13.58% (26.9 MB)
[#001] sha256:70e1fe648bab453e8570a90bce0d674dfdfe9707d1b8e9e823a76d0e91d44278 - 1.61% (3.19 MB)
[#002] sha256:a6a788508a7265428337143dd4f37091356d9122dfa8c289c3242b1413916fa5 - 6.06% (12 MB)
[#003] sha256:514f59c1209a1df965b3efaf7cc2ede57d0cbf21868236eb5c056abcb714ad41 - 0.0% (250 Bytes)
[#004] sha256:2cc3e558aaecbe6fc0afa88e8e8474b00bee36ed5265f576ef997c4a8489fd9d - 52.12% (103 MB)
[#005] sha256:de2efada5dae218f16b63338b0364381d738ab604949a87a5600ce4b1cb5f06e - 9.78% (19.4 MB)
[#006] sha256:91506ce5db1f7948800308c1ea07121e0af72ebd76624024824006c5185f87dc - 0.0% (513 Bytes)
[#007] sha256:93dbaeae47f87331a0a10a675e67b1f70e1f59dd73e57ffe13ec273e91a68360 - 0.0% (5.16 KB)
[#008] sha256:bdc40c28bd0e506e651465de0d4cd7d93ebbc74f14a2a69e9cbe77f5639c3511 - 0.08% (154 KB)
[#009] sha256:93ed78b6a69a58d3c3c1a43f13ee8375b583a80449773c140c787d16a8e7fbbf - 0.0% (4.07 KB)
[#010] sha256:c84f82eecf4d2ca8d31811e64e94d011dc04dbf368a4720b270535d3e8fdadd3 - 4.76% (9.45 MB)
[#011] sha256:cbb0ce83bbdbf91efb9e9b2da753912f4213d1d001e26453304fa6174a60ba58 - 3.26% (6.47 MB)
[#012] sha256:19f7e245876f47c1c0b07b37e803d9c58e0befb5b127f4bd037164c90dd6505e - 2.64% (5.24 MB)
[#013] sha256:6220346b49aa80fefa0959a018aa48d02ae4e273da457f5437fd0851ede63455 - 3.36% (6.66 MB)
[#014] sha256:02a172e1914d2603fdab5994c14688acdd0c2c565304fb5948a04ef96b647e67 - 2.75% (5.46 MB)
[#015] sha256:750175dfb9923c508dc59ebdcb348f451984ed4251e860d8c1ce9f0272068f5c - 0.0% (3.34 KB)
[#016] sha256:bd9ddc54bea929a22b334e73e026d4136e5b73f5cc29942896c72e4ece69b13d - 0.0% (34 Bytes)
# debian.sh --arch 'amd64' out/ 'bookworm' '@1792531975'
2026-10-21 22:26:33 UTC (buildkit.dockerfile.v0)ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2026-10-21 22:26:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates netbase tzdata ; rm -rf /var/lib/apt/lists/* # buildkit
2026-10-21 22:26:33 UTC (buildkit.dockerfile.v0)ENV GPG_KEY=7169605F62C751356D054A26A821E680E5FA6305
2026-10-21 22:26:33 UTC (buildkit.dockerfile.v0)ENV PYTHON_VERSION=3.13.17
2026-10-21 22:26:33 UTC (buildkit.dockerfile.v0)ENV PYTHON_SHA256=6020bd10aff3bf4821be16f088ebb1591beb7b811dcd8fab1da8f7c22a7b27e7
2026-10-21 22:36:48 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends dpkg-dev g++ gcc gnupg libbluetooth-dev libbz2-dev libc6-dev libdb-dev libffi-dev libgdbm-dev liblzma-dev libncursesw5-dev libreadline-dev libsqlite3-dev libssl-dev make tk-dev uuid-dev wget xz-utils zlib1g-dev ; wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; echo "$PYTHON_SHA256 *python.tar.xz" | sha256sum -c -; wget -O python.tar.xz.asc "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc"; GNUPGHOME="$(mktemp -d)"; export GNUPGHOME; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$GPG_KEY"; gpg --batch --verify python.tar.xz.asc python.tar.xz; gpgconf --kill all; rm -rf "$GNUPGHOME" python.tar.xz.asc; mkdir -p /usr/src/python; tar --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz; rm python.tar.xz; cd /usr/src/python; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; ./configure --build="$gnuArch" --enable-loadable-sqlite-extensions --enable-optimizations --enable-option-checking=fatal --enable-shared $(test "${gnuArch%%-*}" != 'riscv64' && echo '--with-lto') --with-ensurepip ; nproc="$(nproc)"; EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; LDFLAGS="${LDFLAGS:-} -Wl,--strip-all"; arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; case "$arch" in amd64|arm64) EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"; ;; i386) ;; *) EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer"; ;; esac; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:-}" ; rm python; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:-} -Wl,-rpath='\$\$ORIGIN/../lib'" python ; make install; cd /; rm -rf /usr/src/python; find /usr/local -depth \( \( -type d -a \( -name test -o -name tests -o -name idle_test \) \) -o \( -type f -a \( -name '*.pyc' -o -name '*.pyo' -o -name 'libpython*.a' \) \) \) -exec rm -rf '{}' + ; ldconfig; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark; find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec ldd '{}' ';' | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' | sort -u | xargs -rt dpkg-query --search | awk 'sub(":$", "", $1) { print $1 }' | sort -u | xargs -r apt-mark manual ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*; export PYTHONDONTWRITEBYTECODE=1; python3 --version; pip3 --version # buildkit
2026-10-21 22:36:48 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; for src in idle3 pip3 pydoc3 python3 python3-config; do dst="$(echo "$src" | tr -d 3)"; [ -s "/usr/local/bin/$src" ]; [ ! -e "/usr/local/bin/$dst" ]; ln -svT "$src" "/usr/local/bin/$dst"; done # buildkit
2026-10-21 22:36:48 UTC (buildkit.dockerfile.v0)CMD ["python3"]
2026-10-24 01:00:46 UTC (buildkit.dockerfile.v0)ARG NODE_VERSION=24.20.0
2026-10-24 01:00:46 UTC (buildkit.dockerfile.v0)ARG PNPM_VERSION=11.9.0
2026-10-24 01:00:46 UTC (buildkit.dockerfile.v0)ARG UV_VERSION=0.8.9
2026-10-24 01:00:46 UTC (buildkit.dockerfile.v0)ENV PYTHONDONTWRITEBYTECODE=1 PYTHONUNBUFFERED=1 PIP_NO_CACHE_DIR=1
2026-10-24 01:00:46 UTC (buildkit.dockerfile.v0)RUN |3 NODE_VERSION=24.20.0 PNPM_VERSION=11.9.0 UV_VERSION=0.8.9 /bin/sh -c apt-get update && apt-get install -y --no-install-recommends bash ca-certificates curl file git iproute2 jq less openssh-client procps ripgrep tini tmux unzip xz-utils zip && node_arch="$(dpkg --print-architecture)" && case "${node_arch}" in amd64) node_arch="x64" ;; arm64) node_arch="arm64" ;; *) echo "Unsupported Node.js architecture: ${node_arch}" >&2; exit 1 ;; esac && node_dist="node-v${NODE_VERSION}-linux-${node_arch}" && curl -fsSLO "https://nodejs.org/dist/v${NODE_VERSION}/SHASUMS256.txt" && curl -fsSLO "https://nodejs.org/dist/v${NODE_VERSION}/${node_dist}.tar.xz" && grep " ${node_dist}.tar.xz\$" SHASUMS256.txt | sha256sum -c - && tar --no-same-owner -xJf "${node_dist}.tar.xz" -C /usr/local --strip-components=1 && rm -f SHASUMS256.txt "${node_dist}.tar.xz" && npm install --global "pnpm@${PNPM_VERSION}" && npm cache clean --force && rm -rf /var/lib/apt/lists/* # buildkit
2026-10-24 01:00:49 UTC (buildkit.dockerfile.v0)RUN |3 NODE_VERSION=24.20.0 PNPM_VERSION=11.9.0 UV_VERSION=0.8.9 /bin/sh -c python -m pip install --no-cache-dir "uv==${UV_VERSION}" # buildkit
2026-10-24 01:00:49 UTC (buildkit.dockerfile.v0)COPY docker/native-code-python.requirements.txt /usr/share/dify-native/ # buildkit
2026-10-24 01:00:49 UTC (buildkit.dockerfile.v0)COPY docker/native-code-environment.py /usr/share/dify-native/ # buildkit
2026-10-24 01:00:52 UTC (buildkit.dockerfile.v0)RUN |3 NODE_VERSION=24.20.0 PNPM_VERSION=11.9.0 UV_VERSION=0.8.9 /bin/sh -c python -m pip install --require-hashes --only-binary=:all: --no-compile -r /usr/share/dify-native/native-code-python.requirements.txt && python -I -B /usr/share/dify-native/native-code-environment.py > /usr/share/dify-native/native-code-environment.json # buildkit
2026-10-24 01:00:52 UTC (buildkit.dockerfile.v0)COPY docker/native-test-seccomp.json docker/native-test-apparmor.profile docker/native-test-supervisor.service docker/native-test-start.sh /usr/share/dify-native/ # buildkit
2026-10-24 12:10:31 UTC (buildkit.dockerfile.v0)COPY /bin/shellctl /usr/local/bin/shellctl # buildkit
2026-10-24 12:10:31 UTC (buildkit.dockerfile.v0)COPY /bin/shellctl-sanitize-pty /usr/local/bin/shellctl-sanitize-pty # buildkit
2026-10-24 12:10:31 UTC (buildkit.dockerfile.v0)COPY /bin/shellctl-runner-exit /usr/local/bin/shellctl-runner-exit # buildkit
2026-10-24 12:10:31 UTC (buildkit.dockerfile.v0)COPY /bin/shellctl-runner /usr/local/bin/shellctl-runner # buildkit
2026-10-24 12:10:31 UTC (buildkit.dockerfile.v0)COPY /bin/dify-agent /usr/local/bin/dify-agent # buildkit
2026-10-24 13:26:21 UTC (buildkit.dockerfile.v0)RUN |3 NODE_VERSION=24.20.0 PNPM_VERSION=11.9.0 UV_VERSION=0.8.9 /bin/sh -c useradd --create-home --shell /bin/sh dify && mkdir -p /workspace && chown dify:dify /home && chown -R dify:dify /home/dify /workspace # buildkit
2026-10-24 13:26:21 UTC (buildkit.dockerfile.v0)USER dify
2026-10-24 13:26:21 UTC (buildkit.dockerfile.v0)WORKDIR /home/dify
2026-10-24 13:26:21 UTC (buildkit.dockerfile.v0)EXPOSE map[5004/tcp:{}]
2026-10-24 13:26:21 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/usr/bin/tini" "-g" "--"]
2026-10-24 13:26:21 UTC (buildkit.dockerfile.v0)CMD ["shellctl" "serve" "--listen" "0.0.0.0:5004"]
2026-10-24 13:26:21 UTC
194 MB
7169605F62C751356D054A26A821E680E5FA6305
PATH/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PIP_NO_CACHE_DIR1
PYTHONDONTWRITEBYTECODE1
PYTHONUNBUFFERED1
PYTHON_SHA2566020bd10aff3bf4821be16f088ebb1591beb7b811dcd8fab1da8f7c22a7b27e7
PYTHON_VERSION3.13.17
[#000] sha256:41b2195c355367079ebad200f9591fe3c2cb886c3b1e67abaaf2090dc11c04d9 - 13.82% (26.8 MB)
[#001] sha256:74311ce6e431a3e7ce535eb88fdc9ac983756027940c2c9d01dcb980a5d62a32 - 1.56% (3.03 MB)
[#002] sha256:3c6f9506977947727494f62309cbe3a0d9e001f43fc60b770f6c9e09b2ec55e3 - 6.15% (11.9 MB)
[#003] sha256:b4cfc76522894bed4c0d20a5d6cdbffde0b79c03c91f518c870db57a8923e71b - 0.0% (249 Bytes)
[#004] sha256:729cacc4ec08faecaefdc4d9614d7c25d07b7f6b33ad8fdac4ec60b1145be8b2 - 52.98% (103 MB)
[#005] sha256:09232f6e94368903749d63acbb36fc58437738f80a0b2b4d8e75f902e89dcf98 - 9.43% (18.3 MB)
[#006] sha256:487f1c7ad2a52102e56c48975edf0fa9a6e6484ac33adc2129df1a52f26125fb - 0.0% (511 Bytes)
[#007] sha256:e27e88e3bdd0226315b9c65cddf30846dcb67acd9bb5bda37f4aa5850c20fbb4 - 0.0% (5.16 KB)
[#008] sha256:cbab58f614445c7643200195bcec33b7e1cfa2dcba38e76f5e4222f85ac51539 - 0.08% (155 KB)
[#009] sha256:ec36d534a12ec7961bbd8da6db0c4dbb68f5d4e3dfcf96ce7bab4063d21ca3e1 - 0.0% (4.07 KB)
[#010] sha256:2a70e6ed511f9ffdcd162529740df174aead9e8224a115f358a9725f22be0045 - 4.52% (8.77 MB)
[#011] sha256:ab680e50ba997a49aa613cf1961272916291e5435e5bad3f0690be30615ffe24 - 3.13% (6.07 MB)
[#012] sha256:c47bcff2213561114e15c48ee062778c43a65cf8a6a68fa08129d4a938dff3aa - 2.55% (4.95 MB)
[#013] sha256:a25fdfa2fe61fe5701e821ed8975f3ae1b7e407edfb3e08d660f4dc6d0bc3bda - 3.21% (6.24 MB)
[#014] sha256:8745eeea2bab1fda5f50dda3ed50256214f1d10e784de83e8715a400cc8ffd95 - 2.57% (4.99 MB)
[#015] sha256:f294600661e2a414daa82746fc6a6c241ff665aad1faa3ef9d94f2b69581a737 - 0.0% (3.35 KB)
[#016] sha256:bd9ddc54bea929a22b334e73e026d4136e5b73f5cc29942896c72e4ece69b13d - 0.0% (34 Bytes)
# debian.sh --arch 'arm64' out/ 'bookworm' '@1792531975'
2026-10-21 22:35:08 UTC (buildkit.dockerfile.v0)ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2026-10-21 22:35:08 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates netbase tzdata ; rm -rf /var/lib/apt/lists/* # buildkit
2026-10-21 22:35:08 UTC (buildkit.dockerfile.v0)ENV GPG_KEY=7169605F62C751356D054A26A821E680E5FA6305
2026-10-21 22:35:08 UTC (buildkit.dockerfile.v0)ENV PYTHON_VERSION=3.13.17
2026-10-21 22:35:08 UTC (buildkit.dockerfile.v0)ENV PYTHON_SHA256=6020bd10aff3bf4821be16f088ebb1591beb7b811dcd8fab1da8f7c22a7b27e7
2026-10-21 22:48:27 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends dpkg-dev g++ gcc gnupg libbluetooth-dev libbz2-dev libc6-dev libdb-dev libffi-dev libgdbm-dev liblzma-dev libncursesw5-dev libreadline-dev libsqlite3-dev libssl-dev make tk-dev uuid-dev wget xz-utils zlib1g-dev ; wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; echo "$PYTHON_SHA256 *python.tar.xz" | sha256sum -c -; wget -O python.tar.xz.asc "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc"; GNUPGHOME="$(mktemp -d)"; export GNUPGHOME; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$GPG_KEY"; gpg --batch --verify python.tar.xz.asc python.tar.xz; gpgconf --kill all; rm -rf "$GNUPGHOME" python.tar.xz.asc; mkdir -p /usr/src/python; tar --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz; rm python.tar.xz; cd /usr/src/python; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; ./configure --build="$gnuArch" --enable-loadable-sqlite-extensions --enable-optimizations --enable-option-checking=fatal --enable-shared $(test "${gnuArch%%-*}" != 'riscv64' && echo '--with-lto') --with-ensurepip ; nproc="$(nproc)"; EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; LDFLAGS="${LDFLAGS:-} -Wl,--strip-all"; arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; case "$arch" in amd64|arm64) EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"; ;; i386) ;; *) EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer"; ;; esac; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:-}" ; rm python; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:-} -Wl,-rpath='\$\$ORIGIN/../lib'" python ; make install; cd /; rm -rf /usr/src/python; find /usr/local -depth \( \( -type d -a \( -name test -o -name tests -o -name idle_test \) \) -o \( -type f -a \( -name '*.pyc' -o -name '*.pyo' -o -name 'libpython*.a' \) \) \) -exec rm -rf '{}' + ; ldconfig; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark; find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec ldd '{}' ';' | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' | sort -u | xargs -rt dpkg-query --search | awk 'sub(":$", "", $1) { print $1 }' | sort -u | xargs -r apt-mark manual ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*; export PYTHONDONTWRITEBYTECODE=1; python3 --version; pip3 --version # buildkit
2026-10-21 22:48:28 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; for src in idle3 pip3 pydoc3 python3 python3-config; do dst="$(echo "$src" | tr -d 3)"; [ -s "/usr/local/bin/$src" ]; [ ! -e "/usr/local/bin/$dst" ]; ln -svT "$src" "/usr/local/bin/$dst"; done # buildkit
2026-10-21 22:48:28 UTC (buildkit.dockerfile.v0)CMD ["python3"]
2026-10-22 21:32:00 UTC (buildkit.dockerfile.v0)ARG NODE_VERSION=24.20.0
2026-10-22 21:32:00 UTC (buildkit.dockerfile.v0)ARG PNPM_VERSION=11.9.0
2026-10-22 21:32:00 UTC (buildkit.dockerfile.v0)ARG UV_VERSION=0.8.9
2026-10-22 21:32:00 UTC (buildkit.dockerfile.v0)ENV PYTHONDONTWRITEBYTECODE=1 PYTHONUNBUFFERED=1 PIP_NO_CACHE_DIR=1
2026-10-22 21:32:00 UTC (buildkit.dockerfile.v0)RUN |3 NODE_VERSION=24.20.0 PNPM_VERSION=11.9.0 UV_VERSION=0.8.9 /bin/sh -c apt-get update && apt-get install -y --no-install-recommends bash ca-certificates curl file git iproute2 jq less openssh-client procps ripgrep tini tmux unzip xz-utils zip && node_arch="$(dpkg --print-architecture)" && case "${node_arch}" in amd64) node_arch="x64" ;; arm64) node_arch="arm64" ;; *) echo "Unsupported Node.js architecture: ${node_arch}" >&2; exit 1 ;; esac && node_dist="node-v${NODE_VERSION}-linux-${node_arch}" && curl -fsSLO "https://nodejs.org/dist/v${NODE_VERSION}/SHASUMS256.txt" && curl -fsSLO "https://nodejs.org/dist/v${NODE_VERSION}/${node_dist}.tar.xz" && grep " ${node_dist}.tar.xz\$" SHASUMS256.txt | sha256sum -c - && tar --no-same-owner -xJf "${node_dist}.tar.xz" -C /usr/local --strip-components=1 && rm -f SHASUMS256.txt "${node_dist}.tar.xz" && npm install --global "pnpm@${PNPM_VERSION}" && npm cache clean --force && rm -rf /var/lib/apt/lists/* # buildkit
2026-10-24 00:35:08 UTC (buildkit.dockerfile.v0)RUN |3 NODE_VERSION=24.20.0 PNPM_VERSION=11.9.0 UV_VERSION=0.8.9 /bin/sh -c python -m pip install --no-cache-dir "uv==${UV_VERSION}" # buildkit
2026-10-24 00:35:09 UTC (buildkit.dockerfile.v0)COPY docker/native-code-python.requirements.txt /usr/share/dify-native/ # buildkit
2026-10-24 00:35:09 UTC (buildkit.dockerfile.v0)COPY docker/native-code-environment.py /usr/share/dify-native/ # buildkit
2026-10-24 00:35:13 UTC (buildkit.dockerfile.v0)RUN |3 NODE_VERSION=24.20.0 PNPM_VERSION=11.9.0 UV_VERSION=0.8.9 /bin/sh -c python -m pip install --require-hashes --only-binary=:all: --no-compile -r /usr/share/dify-native/native-code-python.requirements.txt && python -I -B /usr/share/dify-native/native-code-environment.py > /usr/share/dify-native/native-code-environment.json # buildkit
2026-10-24 00:35:16 UTC (buildkit.dockerfile.v0)COPY docker/native-test-seccomp.json docker/native-test-apparmor.profile docker/native-test-supervisor.service docker/native-test-start.sh /usr/share/dify-native/ # buildkit
2026-10-24 12:10:33 UTC (buildkit.dockerfile.v0)COPY /bin/shellctl /usr/local/bin/shellctl # buildkit
2026-10-24 12:10:33 UTC (buildkit.dockerfile.v0)COPY /bin/shellctl-sanitize-pty /usr/local/bin/shellctl-sanitize-pty # buildkit
2026-10-24 12:10:33 UTC (buildkit.dockerfile.v0)COPY /bin/shellctl-runner-exit /usr/local/bin/shellctl-runner-exit # buildkit
2026-10-24 12:10:33 UTC (buildkit.dockerfile.v0)COPY /bin/shellctl-runner /usr/local/bin/shellctl-runner # buildkit
2026-10-24 12:10:33 UTC (buildkit.dockerfile.v0)COPY /bin/dify-agent /usr/local/bin/dify-agent # buildkit
2026-10-24 12:10:34 UTC (buildkit.dockerfile.v0)RUN |3 NODE_VERSION=24.20.0 PNPM_VERSION=11.9.0 UV_VERSION=0.8.9 /bin/sh -c useradd --create-home --shell /bin/sh dify && mkdir -p /workspace && chown dify:dify /home && chown -R dify:dify /home/dify /workspace # buildkit
2026-10-24 12:10:34 UTC (buildkit.dockerfile.v0)USER dify
2026-10-24 13:26:21 UTC (buildkit.dockerfile.v0)WORKDIR /home/dify
2026-10-24 13:26:21 UTC (buildkit.dockerfile.v0)EXPOSE map[5004/tcp:{}]
2026-10-24 13:26:21 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/usr/bin/tini" "-g" "--"]
2026-10-24 13:26:21 UTC (buildkit.dockerfile.v0)CMD ["shellctl" "serve" "--listen" "0.0.0.0:5004"]
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.