Namespace
langgenius
Image / Tag
dify-agent-backend:bfa7ef0d51c7a033d286fff1a35c859cdc87925a
Content Digest
sha256:5da4a2ab1a38fe8c6a644c618bb4274eb958d2258930d4aeb710a7b6e2c4acfa
Details
Created

2026-11-06 08:05:42 UTC

Size

298 MB

Content Digest
Labels
  • org.opencontainers.image.created
    2026-11-06T08:07:39.756Z
  • 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
    bfa7ef0d51c7a033d286fff1a35c859cdc87925a
  • 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
    main

Environment
COMMIT_SHA

bfa7ef0d51c7a033d286fff1a35c859cdc87925a

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

abb0102e6d4ae027509bcb82327d9dd85515b44a3ba8ad538cfc5e9847029f68

PYTHON_VERSION

3.13.18

TZ

UTC

UV_VERSION

0.13.4

VIRTUAL_ENV

/app/api/.venv


Layers

[#000] sha256:37fb86c2a767b88d500c6872195f88078f64765fe0d2f9cc375cc2efbd4c0a41 - 9.54% (28.5 MB)

[#001] sha256:0069ea31add00b9f63dbb3f0bcee44990654c5e2c17ccfeaeae47e74edf44498 - 0.41% (1.23 MB)

[#002] sha256:faa890a31e98e11bc3138d9549c86441024fdb24bd555bb0bca17dc9a6c5b565 - 3.81% (11.4 MB)

[#003] sha256:f7a79299dedd5c817d47e3f61cf6eecae73b92cb193a1ef52180a46b0161c50a - 0.0% (248 Bytes)

[#004] sha256:41f895f105f13165cc2cce3fbc96a89598f82398a00c39310ea03ff0f5a388fa - 0.0% (118 Bytes)

[#005] sha256:90f8d368fbe35d1e4d748ef1120c56ddf6ddc4167ded15b2d08b80e2132e18d4 - 6.8% (20.3 MB)

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

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

[#008] sha256:1927ea856a1fc9da2c1f16c7b50ff0a460d28435e5d9a861cfdd46c4b4b1e44b - 79.44% (237 MB)

[#009] sha256:e9bbf47d851f2475746ced16602439405392c3a19b8edc7ea46e186e84a291ff - 0.0% (150 Bytes)


History
2026-11-04 21:23:39 UTC (debuerreotype 0.17)

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

2026-11-05 07:52:02 UTC (buildkit.dockerfile.v0)

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

2026-11-05 07:52:02 UTC (buildkit.dockerfile.v0)

ENV LANG=C.UTF-8

2026-11-05 07:52:02 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-11-05 07:52:02 UTC (buildkit.dockerfile.v0)

ENV GPG_KEY=7169605F62C751356D054A26A821E680E5FA6305

2026-11-05 07:52:02 UTC (buildkit.dockerfile.v0)

ENV PYTHON_VERSION=3.13.18

2026-11-05 07:52:02 UTC (buildkit.dockerfile.v0)

ENV PYTHON_SHA256=abb0102e6d4ae027509bcb82327d9dd85515b44a3ba8ad538cfc5e9847029f68

2026-11-05 08:02:05 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-11-05 08:02:05 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-11-05 08:02:05 UTC (buildkit.dockerfile.v0)

CMD ["python3"]

2026-11-05 11:16:04 UTC (buildkit.dockerfile.v0)

WORKDIR /app/api

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

ENV UV_VERSION=0.13.4

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

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

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

ENV TZ=UTC

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

ENV LANG=C.UTF-8

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

ENV LC_ALL=C.UTF-8

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

ENV PYTHONIOENCODING=utf-8

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

ENV PYTHONDONTWRITEBYTECODE=1

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

ENV PYTHONUNBUFFERED=1

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

WORKDIR /app/api

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

ARG dify_uid=1001

2026-11-05 11:16:11 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-11-05 11:16:11 UTC (buildkit.dockerfile.v0)

ENV VIRTUAL_ENV=/app/api/.venv

2026-11-06 08:04:01 UTC (buildkit.dockerfile.v0)

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

2026-11-06 08:04:01 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-11-06 08:05:42 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-11-06 08:05:42 UTC (buildkit.dockerfile.v0)

ARG COMMIT_SHA

2026-11-06 08:05:42 UTC (buildkit.dockerfile.v0)

ENV COMMIT_SHA=bfa7ef0d51c7a033d286fff1a35c859cdc87925a

2026-11-06 08:05:42 UTC (buildkit.dockerfile.v0)

EXPOSE map[5050/tcp:{}]

2026-11-06 08:05:42 UTC (buildkit.dockerfile.v0)

USER dify

2026-11-06 08:05:42 UTC (buildkit.dockerfile.v0)

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

Details
Created

2026-11-06 04:39:31 UTC

Size

282 MB

Content Digest
Labels
  • org.opencontainers.image.created
    2026-11-06T08:07:39.386Z
  • 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
    bfa7ef0d51c7a033d286fff1a35c859cdc87925a
  • 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
    main

Environment
COMMIT_SHA

bfa7ef0d51c7a033d286fff1a35c859cdc87925a

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

abb0102e6d4ae027509bcb82327d9dd85515b44a3ba8ad538cfc5e9847029f68

PYTHON_VERSION

3.13.18

TZ

UTC

UV_VERSION

0.13.4

VIRTUAL_ENV

/app/api/.venv


Layers

[#000] sha256:acd43e9bebc37bc4ba7a5f47bd7598913337803e53d468f37d940f11f5d5f1ef - 10.21% (28.8 MB)

[#001] sha256:0e670227450615dd602171dd44b95920546465dfe6074f45e8a41a66b7723d83 - 0.43% (1.21 MB)

[#002] sha256:174bfd419dd81cd676d1a8618deb0ba079dc16f9e053afe66908dd3727c3cc3f - 4.01% (11.3 MB)

[#003] sha256:42ebab0032b11085076fe636a4286d0178552541033ccc92fb0397048dbedc12 - 0.0% (250 Bytes)

[#004] sha256:0a9f2a33258e7565b57edf74c09e6ead10fdd2026237b3eee79f2292f9e6af56 - 0.0% (118 Bytes)

[#005] sha256:cf8165c70b11e7cfee0984b070a8d9254b3bc2eb8fcd7d89326a2ce818bb25de - 6.91% (19.5 MB)

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

[#007] sha256:fc03fc8cec3ca0cce683ffab859121721a2520acc73b2f529d76da89249150e8 - 0.0% (1.1 KB)

[#008] sha256:990f81e253a592d9f022bbccd251a596cd638b44bc1946f7d70916255468b267 - 78.44% (221 MB)

[#009] sha256:c2db274827e102f09068690a8cc7aae6b5e144e356bdab104d4068d82fa77d59 - 0.0% (150 Bytes)


History
2026-11-04 21:23:39 UTC (debuerreotype 0.17)

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

2026-11-05 07:57:16 UTC (buildkit.dockerfile.v0)

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

2026-11-05 07:57:16 UTC (buildkit.dockerfile.v0)

ENV LANG=C.UTF-8

2026-11-05 07:57:16 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-11-05 07:57:16 UTC (buildkit.dockerfile.v0)

ENV GPG_KEY=7169605F62C751356D054A26A821E680E5FA6305

2026-11-05 07:57:16 UTC (buildkit.dockerfile.v0)

ENV PYTHON_VERSION=3.13.18

2026-11-05 07:57:16 UTC (buildkit.dockerfile.v0)

ENV PYTHON_SHA256=abb0102e6d4ae027509bcb82327d9dd85515b44a3ba8ad538cfc5e9847029f68

2026-11-05 08:11:28 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-11-05 08:11: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-11-05 08:11:28 UTC (buildkit.dockerfile.v0)

CMD ["python3"]

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

WORKDIR /app/api

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

ENV UV_VERSION=0.13.4

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

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

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

ENV TZ=UTC

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

ENV LANG=C.UTF-8

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

ENV LC_ALL=C.UTF-8

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

ENV PYTHONIOENCODING=utf-8

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

ENV PYTHONDONTWRITEBYTECODE=1

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

ENV PYTHONUNBUFFERED=1

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

WORKDIR /app/api

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

ARG dify_uid=1001

2026-11-05 11:16:05 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-11-05 11:16:05 UTC (buildkit.dockerfile.v0)

ENV VIRTUAL_ENV=/app/api/.venv

2026-11-06 04:36:45 UTC (buildkit.dockerfile.v0)

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

2026-11-06 04:36:45 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-11-06 04:39:31 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-11-06 04:39:31 UTC (buildkit.dockerfile.v0)

ARG COMMIT_SHA

2026-11-06 04:39:31 UTC (buildkit.dockerfile.v0)

ENV COMMIT_SHA=bfa7ef0d51c7a033d286fff1a35c859cdc87925a

2026-11-06 04:39:31 UTC (buildkit.dockerfile.v0)

EXPOSE map[5050/tcp:{}]

2026-11-06 04:39:31 UTC (buildkit.dockerfile.v0)

USER dify

2026-11-06 04:39:31 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