Namespace
langgenius
Image / Tag
dify-agent-backend:5f978fec3709db8dca592f8c9222c41befd7f5fd
Content Digest
sha256:92c67a8a32fafc9bcfd72071ffa101b32f2c0874c6b8938d90a42a415757ff79
Details
Created

2026-09-07 05:06:25 UTC

Size

318 MB

Content Digest
Labels
  • org.opencontainers.image.created
    2026-09-07T05:44:46.007Z
  • 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
    5f978fec3709db8dca592f8c9222c41befd7f5fd
  • 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

5f978fec3709db8dca592f8c9222c41befd7f5fd

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

5c8462af5790baf43a321a1559dbe0db06d1be4300fb85fb53c40060668e548a

PYTHON_VERSION

3.12.14

TZ

UTC

UV_VERSION

0.8.9

VIRTUAL_ENV

/app/api/.venv


Layers

[#000] sha256:a8ac7f6c67abc236e4c745052c404112b8fab6fe8ac3a329d1ef3b867ad67c71 - 8.48% (26.9 MB)

[#001] sha256:268fd66f673d556a271a784d33c4541102f05dde43657861a8e793eb30ef38dd - 1.06% (3.37 MB)

[#002] sha256:ec613f6df89286159c101a9b15264bc627366aaf788a9ea9c3a456ad9b9b2b3e - 4.11% (13 MB)

[#003] sha256:35ef2f664a5c3b1e1408a24bd668ef33b82a89a534709e1c03aac6d50012d51a - 0.0% (249 Bytes)

[#004] sha256:1b91e4396d426057b74f53306e5df07a356bf9e4c3f5c5f9cad69aba18800ded - 0.0% (118 Bytes)

[#005] sha256:c52f097dcba6376432eb6e6f2c0777401d78630bfd0dbd38c741cc9b0aba1c95 - 7.15% (22.7 MB)

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

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

[#008] sha256:95fe691e6f9f49dd730df15dc5fcbd9e0ec37d07c89bebcddad564a513842218 - 79.2% (252 MB)

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


History
2026-08-24 00:00:00 UTC (debuerreotype 0.17)

# debian.sh --arch 'amd64' out/ 'bookworm' '@1787529600'

2026-09-01 00:03:02 UTC (buildkit.dockerfile.v0)

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

2026-09-01 00:03:02 UTC (buildkit.dockerfile.v0)

ENV LANG=C.UTF-8

2026-09-01 00:03: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 ; rm -rf /var/lib/apt/lists/* # buildkit

2026-09-01 00:03:02 UTC (buildkit.dockerfile.v0)

ENV GPG_KEY=7169605F62C751356D054A26A821E680E5FA6305

2026-09-01 00:03:02 UTC (buildkit.dockerfile.v0)

ENV PYTHON_VERSION=3.12.14

2026-09-01 00:03:02 UTC (buildkit.dockerfile.v0)

ENV PYTHON_SHA256=5c8462af5790baf43a321a1559dbe0db06d1be4300fb85fb53c40060668e548a

2026-09-01 00:12:51 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-09-01 00:12:51 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-09-01 00:12:51 UTC (buildkit.dockerfile.v0)

CMD ["python3"]

2026-09-01 02:12:25 UTC (buildkit.dockerfile.v0)

WORKDIR /app/api

2026-09-01 02:12:27 UTC (buildkit.dockerfile.v0)

ENV UV_VERSION=0.8.9

2026-09-01 02:12:27 UTC (buildkit.dockerfile.v0)

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

2026-09-01 02:12:27 UTC (buildkit.dockerfile.v0)

ENV TZ=UTC

2026-09-01 02:12:27 UTC (buildkit.dockerfile.v0)

ENV LANG=C.UTF-8

2026-09-01 02:12:27 UTC (buildkit.dockerfile.v0)

ENV LC_ALL=C.UTF-8

2026-09-01 02:12:27 UTC (buildkit.dockerfile.v0)

ENV PYTHONIOENCODING=utf-8

2026-09-01 02:12:27 UTC (buildkit.dockerfile.v0)

ENV PYTHONDONTWRITEBYTECODE=1

2026-09-01 02:12:27 UTC (buildkit.dockerfile.v0)

ENV PYTHONUNBUFFERED=1

2026-09-01 02:12:28 UTC (buildkit.dockerfile.v0)

WORKDIR /app/api

2026-09-01 02:12:28 UTC (buildkit.dockerfile.v0)

ARG dify_uid=1001

2026-09-01 02:12:28 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-09-01 02:12:28 UTC (buildkit.dockerfile.v0)

ENV VIRTUAL_ENV=/app/api/.venv

2026-09-07 04:37:12 UTC (buildkit.dockerfile.v0)

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

2026-09-07 04:37:12 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-09-07 05:06:25 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-09-07 05:06:25 UTC (buildkit.dockerfile.v0)

ARG COMMIT_SHA

2026-09-07 05:06:25 UTC (buildkit.dockerfile.v0)

ENV COMMIT_SHA=5f978fec3709db8dca592f8c9222c41befd7f5fd

2026-09-07 05:06:25 UTC (buildkit.dockerfile.v0)

EXPOSE map[5050/tcp:{}]

2026-09-07 05:06:25 UTC (buildkit.dockerfile.v0)

USER dify

2026-09-07 05:06:25 UTC (buildkit.dockerfile.v0)

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

Details
Created

2026-09-07 05:06:21 UTC

Size

303 MB

Content Digest
Labels
  • org.opencontainers.image.created
    2026-09-07T05:44:45.515Z
  • 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
    5f978fec3709db8dca592f8c9222c41befd7f5fd
  • 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

5f978fec3709db8dca592f8c9222c41befd7f5fd

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

5c8462af5790baf43a321a1559dbe0db06d1be4300fb85fb53c40060668e548a

PYTHON_VERSION

3.12.14

TZ

UTC

UV_VERSION

0.8.9

VIRTUAL_ENV

/app/api/.venv


Layers

[#000] sha256:75782e20ea1f4a9d9259bc20a5ecbbea8d5943bf5370bf0f5727900728f1cc9a - 8.84% (26.8 MB)

[#001] sha256:8662a60b808caf0f481c858e870db63699ac351820bd1577fb560dc553e72c38 - 1.06% (3.21 MB)

[#002] sha256:4e1d2fc0dabb6394acabd86d1fd491fb5ed1dbec8818a32cd064357348bb1323 - 4.28% (13 MB)

[#003] sha256:2df4c82f5bdbf667d202cadaffe51eeee7b81febb397af587551022611d12740 - 0.0% (249 Bytes)

[#004] sha256:8117748e9114f7a8b6c5e30c641429ae84edbc31029a659bd3601b34ef9f237b - 0.0% (117 Bytes)

[#005] sha256:96f880d787953b335d13801f51b9f6270f87f44b678e8164f4d95b668403b10c - 7.12% (21.6 MB)

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

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

[#008] sha256:4580321a17bff4dd4b43a74580e47b292adf3d87fe007c6ec17ce53a8a58226f - 78.7% (239 MB)

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


History
2026-08-24 00:00:00 UTC (debuerreotype 0.17)

# debian.sh --arch 'arm64' out/ 'bookworm' '@1787529600'

2026-08-31 23:39:08 UTC (buildkit.dockerfile.v0)

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

2026-08-31 23:39:08 UTC (buildkit.dockerfile.v0)

ENV LANG=C.UTF-8

2026-08-31 23:39: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-08-31 23:39:08 UTC (buildkit.dockerfile.v0)

ENV GPG_KEY=7169605F62C751356D054A26A821E680E5FA6305

2026-08-31 23:39:08 UTC (buildkit.dockerfile.v0)

ENV PYTHON_VERSION=3.12.14

2026-08-31 23:39:08 UTC (buildkit.dockerfile.v0)

ENV PYTHON_SHA256=5c8462af5790baf43a321a1559dbe0db06d1be4300fb85fb53c40060668e548a

2026-08-31 23:51:12 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-08-31 23:51:12 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-08-31 23:51:12 UTC (buildkit.dockerfile.v0)

CMD ["python3"]

2026-09-01 02:30:28 UTC (buildkit.dockerfile.v0)

WORKDIR /app/api

2026-09-01 02:30:31 UTC (buildkit.dockerfile.v0)

ENV UV_VERSION=0.8.9

2026-09-01 02:30:31 UTC (buildkit.dockerfile.v0)

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

2026-09-01 02:30:31 UTC (buildkit.dockerfile.v0)

ENV TZ=UTC

2026-09-01 02:30:31 UTC (buildkit.dockerfile.v0)

ENV LANG=C.UTF-8

2026-09-01 02:30:31 UTC (buildkit.dockerfile.v0)

ENV LC_ALL=C.UTF-8

2026-09-01 02:30:31 UTC (buildkit.dockerfile.v0)

ENV PYTHONIOENCODING=utf-8

2026-09-01 02:30:31 UTC (buildkit.dockerfile.v0)

ENV PYTHONDONTWRITEBYTECODE=1

2026-09-01 02:30:31 UTC (buildkit.dockerfile.v0)

ENV PYTHONUNBUFFERED=1

2026-09-01 02:30:31 UTC (buildkit.dockerfile.v0)

WORKDIR /app/api

2026-09-01 02:30:31 UTC (buildkit.dockerfile.v0)

ARG dify_uid=1001

2026-09-01 02:30:31 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-09-01 02:30:31 UTC (buildkit.dockerfile.v0)

ENV VIRTUAL_ENV=/app/api/.venv

2026-09-07 04:37:14 UTC (buildkit.dockerfile.v0)

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

2026-09-07 04:37:14 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-09-07 05:06:21 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-09-07 05:06:21 UTC (buildkit.dockerfile.v0)

ARG COMMIT_SHA

2026-09-07 05:06:21 UTC (buildkit.dockerfile.v0)

ENV COMMIT_SHA=5f978fec3709db8dca592f8c9222c41befd7f5fd

2026-09-07 05:06:21 UTC (buildkit.dockerfile.v0)

EXPOSE map[5050/tcp:{}]

2026-09-07 05:06:21 UTC (buildkit.dockerfile.v0)

USER dify

2026-09-07 05:06:21 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