Namespace
langgenius
Image / Tag
dify-agent-backend:f2f9a9ff57c3ace7d4bb7b6e4e8728fec69a61a2
Content Digest
sha256:739325faff4c9fca52e050638ad87daafb98f86aebbdc74bda08f7cc4ffaccdf
Details
Created

2026-10-15 11:33:16 UTC

Size

332 MB

Content Digest
Labels
  • org.opencontainers.image.created
    2026-10-16T01:44:54.548Z
  • org.opencontainers.image.description
    Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
  • org.opencontainers.image.licenses
    NOASSERTION
  • org.opencontainers.image.revision
    f2f9a9ff57c3ace7d4bb7b6e4e8728fec69a61a2
  • org.opencontainers.image.source
    https://github.com/langgenius/dify
  • org.opencontainers.image.title
    dify
  • org.opencontainers.image.url
    https://github.com/langgenius/dify
  • org.opencontainers.image.version
    deploy-konwledge

Environment
COMMIT_SHA

f2f9a9ff57c3ace7d4bb7b6e4e8728fec69a61a2

GPG_KEY

7169605F62C751356D054A26A821E680E5FA6305

LANG

C.UTF-8

LC_ALL

C.UTF-8

PATH

/app/api/.venv/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PYTHONDONTWRITEBYTECODE

1

PYTHONIOENCODING

utf-8

PYTHONUNBUFFERED

1

PYTHON_SHA256

f4b1bfb3c79b5bb11b8d228a12504163b4c0dab4d679828d8f5f26b6cb6ab35d

PYTHON_VERSION

3.13.16

TZ

UTC

UV_VERSION

0.8.9

VIRTUAL_ENV

/app/api/.venv


Layers

[#000] sha256:ecc510c1e359bdc007b39802570bb7e4dec7d6ebccf357c3201a74299113e05e - 8.56% (28.5 MB)

[#001] sha256:65a67aec859c5fafe6ca38c2ed07825c97acf3febdcf62b79441a1bfca4f3a4a - 0.37% (1.23 MB)

[#002] sha256:3a5db7051419a594a866378c5d2c422e3d282d69e6792b3213772cb1349da446 - 3.42% (11.4 MB)

[#003] sha256:2f5b06adfd9138ef928aaf8b34f3fecf122b137a537133dfe421509dd57b4a47 - 0.0% (250 Bytes)

[#004] sha256:0916212ff7dcaacd9423752c126ead59598aba5f912b0735af8838c414f02fe7 - 0.0% (119 Bytes)

[#005] sha256:eb09676c936728a8086ab6286d3738a92c30f22eb0932474a0ec988316f06720 - 6.86% (22.8 MB)

[#006] sha256:bd9ddc54bea929a22b334e73e026d4136e5b73f5cc29942896c72e4ece69b13d - 0.0% (34 Bytes)

[#007] sha256:ba19303d0f8aa0680e9916b9bba4d32b5c71fb2a1b80a7d0b71332d757185424 - 0.0% (1.11 KB)

[#008] sha256:2fab5a612f56739704e0bcb947a31ce689bb90f37f7881ab7a785a06d64ff7ff - 80.79% (269 MB)

[#009] sha256:a353b2927efe3ee4a6126772c8513f37d460be3578ddeb930fdd034b1aac7e5f - 0.0% (151 Bytes)


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

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

2026-10-06 01:55:29 UTC (buildkit.dockerfile.v0)

ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

2026-10-06 01:55:29 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates netbase tzdata ; apt-get dist-clean # buildkit

2026-10-06 01:55:29 UTC (buildkit.dockerfile.v0)

ENV GPG_KEY=7169605F62C751356D054A26A821E680E5FA6305

2026-10-06 01:55:29 UTC (buildkit.dockerfile.v0)

ENV PYTHON_VERSION=3.13.16

2026-10-06 01:55:29 UTC (buildkit.dockerfile.v0)

ENV PYTHON_SHA256=f4b1bfb3c79b5bb11b8d228a12504163b4c0dab4d679828d8f5f26b6cb6ab35d

2026-10-06 02:05:24 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; apt-get dist-clean; export PYTHONDONTWRITEBYTECODE=1; python3 --version; pip3 --version # buildkit

2026-10-06 02:05:24 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-06 02:05:24 UTC (buildkit.dockerfile.v0)

CMD ["python3"]

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

WORKDIR /app/api

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

ENV UV_VERSION=0.8.9

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

RUN /bin/sh -c pip install --no-cache-dir uv==${UV_VERSION} # buildkit

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

ENV TZ=UTC

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

ENV LANG=C.UTF-8

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

ENV LC_ALL=C.UTF-8

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

ENV PYTHONIOENCODING=utf-8

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

ENV PYTHONDONTWRITEBYTECODE=1

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

ENV PYTHONUNBUFFERED=1

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

WORKDIR /app/api

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

ARG dify_uid=1001

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

RUN |1 dify_uid=1001 /bin/sh -c groupadd -r -g ${dify_uid} dify && useradd -r -u ${dify_uid} -g ${dify_uid} -s /bin/bash dify # buildkit

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

ENV VIRTUAL_ENV=/app/api/.venv

2026-10-15 11:03:11 UTC (buildkit.dockerfile.v0)

COPY --chown=dify:dify /app/api/.venv /app/api/.venv # buildkit

2026-10-15 11:03:11 UTC (buildkit.dockerfile.v0)

ENV PATH=/app/api/.venv/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

2026-10-15 11:33:16 UTC (buildkit.dockerfile.v0)

RUN |1 dify_uid=1001 /bin/sh -c mkdir -p /app/api/storage && chown -R dify:dify /app/api # buildkit

2026-10-15 11:33:16 UTC (buildkit.dockerfile.v0)

ARG COMMIT_SHA

2026-10-15 11:33:16 UTC (buildkit.dockerfile.v0)

ENV COMMIT_SHA=f2f9a9ff57c3ace7d4bb7b6e4e8728fec69a61a2

2026-10-15 11:33:16 UTC (buildkit.dockerfile.v0)

EXPOSE map[5050/tcp:{}]

2026-10-15 11:33:16 UTC (buildkit.dockerfile.v0)

USER dify

2026-10-15 11:33:16 UTC (buildkit.dockerfile.v0)

CMD ["uvicorn" "dify_agent.server.app:app" "--host" "0.0.0.0" "--port" "5050"]

Details
Created

2026-10-15 11:05:11 UTC

Size

318 MB

Content Digest
Labels
  • org.opencontainers.image.created
    2026-10-16T01:44:53.054Z
  • org.opencontainers.image.description
    Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
  • org.opencontainers.image.licenses
    NOASSERTION
  • org.opencontainers.image.revision
    f2f9a9ff57c3ace7d4bb7b6e4e8728fec69a61a2
  • org.opencontainers.image.source
    https://github.com/langgenius/dify
  • org.opencontainers.image.title
    dify
  • org.opencontainers.image.url
    https://github.com/langgenius/dify
  • org.opencontainers.image.version
    deploy-konwledge

Environment
COMMIT_SHA

f2f9a9ff57c3ace7d4bb7b6e4e8728fec69a61a2

GPG_KEY

7169605F62C751356D054A26A821E680E5FA6305

LANG

C.UTF-8

LC_ALL

C.UTF-8

PATH

/app/api/.venv/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PYTHONDONTWRITEBYTECODE

1

PYTHONIOENCODING

utf-8

PYTHONUNBUFFERED

1

PYTHON_SHA256

f4b1bfb3c79b5bb11b8d228a12504163b4c0dab4d679828d8f5f26b6cb6ab35d

PYTHON_VERSION

3.13.16

TZ

UTC

UV_VERSION

0.8.9

VIRTUAL_ENV

/app/api/.venv


Layers

[#000] sha256:bbeda6b4abb749f743f4547ef5a28070a14de8caef211daa5afb78d5b5fa21ba - 9.05% (28.8 MB)

[#001] sha256:a2c5ac708d8b046b36bb9ff13512a4ebb02740989de6f68337004fe5473a996d - 0.38% (1.22 MB)

[#002] sha256:e41644b4b81a155dbd3f55fa04a37386bf9cc6c5fcb5d9470f604e5f6531259b - 3.55% (11.3 MB)

[#003] sha256:74202e18a58bbfeb8aa453d39c9f10218cfd1afc69e81a2b29e40913c69f56b9 - 0.0% (250 Bytes)

[#004] sha256:69d5c378474b53218e59cf21be410df991e8c952b39b15817ab3fe58acc80b07 - 0.0% (118 Bytes)

[#005] sha256:5e2a531a383c70d208320f6be6c2c53b49cbde1eb566b8d6f3f5669f00b1f819 - 6.82% (21.7 MB)

[#006] sha256:bd9ddc54bea929a22b334e73e026d4136e5b73f5cc29942896c72e4ece69b13d - 0.0% (34 Bytes)

[#007] sha256:84db33fcae355a24fb52c4090db50541d35f40533d9c625814cf19bc85814135 - 0.0% (1.11 KB)

[#008] sha256:09a1a2629753c6ab51851ea60e0064bca5fafbf235d53b0bc24b479de6215b9d - 80.21% (255 MB)

[#009] sha256:d5ba70b011575c581afc9d11348a95fa3ee69d6e9c94f32a0d1612a766a852de - 0.0% (151 Bytes)


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

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

2026-10-06 01:59:28 UTC (buildkit.dockerfile.v0)

ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

2026-10-06 01:59:28 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates netbase tzdata ; apt-get dist-clean # buildkit

2026-10-06 01:59:28 UTC (buildkit.dockerfile.v0)

ENV GPG_KEY=7169605F62C751356D054A26A821E680E5FA6305

2026-10-06 01:59:28 UTC (buildkit.dockerfile.v0)

ENV PYTHON_VERSION=3.13.16

2026-10-06 01:59:28 UTC (buildkit.dockerfile.v0)

ENV PYTHON_SHA256=f4b1bfb3c79b5bb11b8d228a12504163b4c0dab4d679828d8f5f26b6cb6ab35d

2026-10-06 02:13:03 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; apt-get dist-clean; export PYTHONDONTWRITEBYTECODE=1; python3 --version; pip3 --version # buildkit

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

CMD ["python3"]

2026-10-09 11:07:33 UTC (buildkit.dockerfile.v0)

WORKDIR /app/api

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

ENV UV_VERSION=0.8.9

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

RUN /bin/sh -c pip install --no-cache-dir uv==${UV_VERSION} # buildkit

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

ENV TZ=UTC

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

ENV LANG=C.UTF-8

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

ENV LC_ALL=C.UTF-8

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

ENV PYTHONIOENCODING=utf-8

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

ENV PYTHONDONTWRITEBYTECODE=1

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

ENV PYTHONUNBUFFERED=1

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

WORKDIR /app/api

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

ARG dify_uid=1001

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

RUN |1 dify_uid=1001 /bin/sh -c groupadd -r -g ${dify_uid} dify && useradd -r -u ${dify_uid} -g ${dify_uid} -s /bin/bash dify # buildkit

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

ENV VIRTUAL_ENV=/app/api/.venv

2026-10-15 11:03:20 UTC (buildkit.dockerfile.v0)

COPY --chown=dify:dify /app/api/.venv /app/api/.venv # buildkit

2026-10-15 11:03:20 UTC (buildkit.dockerfile.v0)

ENV PATH=/app/api/.venv/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

2026-10-15 11:05:11 UTC (buildkit.dockerfile.v0)

RUN |1 dify_uid=1001 /bin/sh -c mkdir -p /app/api/storage && chown -R dify:dify /app/api # buildkit

2026-10-15 11:05:11 UTC (buildkit.dockerfile.v0)

ARG COMMIT_SHA

2026-10-15 11:05:11 UTC (buildkit.dockerfile.v0)

ENV COMMIT_SHA=f2f9a9ff57c3ace7d4bb7b6e4e8728fec69a61a2

2026-10-15 11:05:11 UTC (buildkit.dockerfile.v0)

EXPOSE map[5050/tcp:{}]

2026-10-15 11:05:11 UTC (buildkit.dockerfile.v0)

USER dify

2026-10-15 11:05:11 UTC (buildkit.dockerfile.v0)

CMD ["uvicorn" "dify_agent.server.app:app" "--host" "0.0.0.0" "--port" "5050"]

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