Namespace
langgenius
Image / Tag
dify-agent-backend:ea58129ebeec91fbe3cd6ef685dc0a76c2d268db
Content Digest
sha256:d24a0362e67efc24c28ab7156f0201ccece8f7602873ed583dc5b45f079baa9e
Details
Created

2026-07-28 01:28:36 UTC

Size

310 MB

Content Digest
Labels
  • org.opencontainers.image.created
    2026-07-28T05:52:07.015Z
  • 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
    ea58129ebeec91fbe3cd6ef685dc0a76c2d268db
  • 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

ea58129ebeec91fbe3cd6ef685dc0a76c2d268db

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

c08bc65a81971c1dd5783182826503369466c7e67374d1646519adf05207b684

PYTHON_VERSION

3.12.13

TZ

UTC

UV_VERSION

0.8.9

VIRTUAL_ENV

/app/api/.venv


Layers

[#000] sha256:597c6c618d36213af657a6a8444a5d87801f9a219682b206ad21ccb8f3e57bbd - 8.7% (26.9 MB)

[#001] sha256:91b8d4ab0a8cb4e27109badf9069959686507d54115420b7b9bb2ed6169e6477 - 1.08% (3.36 MB)

[#002] sha256:278c43479e93864332983d99faf4c21bec1c9b5275e193e1323206cccec888e8 - 4.21% (13 MB)

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

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

[#005] sha256:1ce47b76b5aec136df2948bf5ff804078c9c3575b2a2a61b6dc1974438074213 - 7.33% (22.7 MB)

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

[#007] sha256:3dd201648ffc9191741f9a17175ba2e1630791361634ad373177ff7ef95f915e - 0.0% (1.09 KB)

[#008] sha256:c844939ed3d73766bc25788ed8923d39cb07f8218917545625886c19ead31af0 - 78.67% (244 MB)

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


History
2026-07-13 00:00:00 UTC (debuerreotype 0.17)

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

2026-07-14 02:03:08 UTC (buildkit.dockerfile.v0)

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

2026-07-14 02:03:08 UTC (buildkit.dockerfile.v0)

ENV LANG=C.UTF-8

2026-07-14 02:03: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-07-14 02:03:08 UTC (buildkit.dockerfile.v0)

ENV GPG_KEY=7169605F62C751356D054A26A821E680E5FA6305

2026-07-14 02:03:08 UTC (buildkit.dockerfile.v0)

ENV PYTHON_VERSION=3.12.13

2026-07-14 02:03:08 UTC (buildkit.dockerfile.v0)

ENV PYTHON_SHA256=c08bc65a81971c1dd5783182826503369466c7e67374d1646519adf05207b684

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

CMD ["python3"]

2026-07-14 06:00:01 UTC (buildkit.dockerfile.v0)

WORKDIR /app/api

2026-07-14 06:00:03 UTC (buildkit.dockerfile.v0)

ENV UV_VERSION=0.8.9

2026-07-14 06:00:03 UTC (buildkit.dockerfile.v0)

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

2026-07-14 06:00:03 UTC (buildkit.dockerfile.v0)

ENV TZ=UTC

2026-07-14 06:00:03 UTC (buildkit.dockerfile.v0)

ENV LANG=C.UTF-8

2026-07-14 06:00:03 UTC (buildkit.dockerfile.v0)

ENV LC_ALL=C.UTF-8

2026-07-14 06:00:03 UTC (buildkit.dockerfile.v0)

ENV PYTHONIOENCODING=utf-8

2026-07-14 06:00:03 UTC (buildkit.dockerfile.v0)

ENV PYTHONDONTWRITEBYTECODE=1

2026-07-14 06:00:03 UTC (buildkit.dockerfile.v0)

ENV PYTHONUNBUFFERED=1

2026-07-14 06:00:03 UTC (buildkit.dockerfile.v0)

WORKDIR /app/api

2026-07-14 06:00:03 UTC (buildkit.dockerfile.v0)

ARG dify_uid=1001

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

ENV VIRTUAL_ENV=/app/api/.venv

2026-07-28 01:27:14 UTC (buildkit.dockerfile.v0)

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

2026-07-28 01:27: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-07-28 01:28:36 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-07-28 01:28:36 UTC (buildkit.dockerfile.v0)

ARG COMMIT_SHA

2026-07-28 01:28:36 UTC (buildkit.dockerfile.v0)

ENV COMMIT_SHA=ea58129ebeec91fbe3cd6ef685dc0a76c2d268db

2026-07-28 01:28:36 UTC (buildkit.dockerfile.v0)

EXPOSE map[5050/tcp:{}]

2026-07-28 01:28:36 UTC (buildkit.dockerfile.v0)

USER dify

2026-07-28 01:28:36 UTC (buildkit.dockerfile.v0)

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

Details
Created

2026-07-28 01:28:33 UTC

Size

295 MB

Content Digest
Labels
  • org.opencontainers.image.created
    2026-07-28T05:52:08.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
    ea58129ebeec91fbe3cd6ef685dc0a76c2d268db
  • 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

ea58129ebeec91fbe3cd6ef685dc0a76c2d268db

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

c08bc65a81971c1dd5783182826503369466c7e67374d1646519adf05207b684

PYTHON_VERSION

3.12.13

TZ

UTC

UV_VERSION

0.8.9

VIRTUAL_ENV

/app/api/.venv


Layers

[#000] sha256:53bb9e501f1803aca595be8d902a62cea6bf4d996ce6f7dfe16c1c97be343e6c - 9.09% (26.8 MB)

[#001] sha256:e9fb1e0a32e7997e12d9a1887f6680f2d58690f500e796fe6f0df16e1ba34656 - 1.08% (3.2 MB)

[#002] sha256:6c94fd81aa79ab5a6f2fedaf2ed07a7df95c7d42f501021de135fdfab787902a - 4.39% (13 MB)

[#003] sha256:57aaf0e3ff67d47ed5dc5e9c19fe47b3ee4bb49a5f94b80c026c41907a5829ce - 0.0% (249 Bytes)

[#004] sha256:c01936e689d37e3270ca7dc139d4c4277b774898743fc3e5a9d88300d1f94d14 - 0.0% (116 Bytes)

[#005] sha256:3d448adcaaa6431e0ea43df095bdbb15904a4fe61590d09b2330b3915ad06272 - 7.32% (21.6 MB)

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

[#007] sha256:e85c8b616f9b942f91d9b4864ab345f15df095b8e4c9f66bb3c55e17406910f8 - 0.0% (1.09 KB)

[#008] sha256:42b32bdc52191c181e3f936f276d44b87ae5e62f0e7b916c66b4343f1dd8ac05 - 78.11% (230 MB)

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


History
2026-07-13 00:00:00 UTC (debuerreotype 0.17)

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

2026-07-14 02:07:43 UTC (buildkit.dockerfile.v0)

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

2026-07-14 02:07:43 UTC (buildkit.dockerfile.v0)

ENV LANG=C.UTF-8

2026-07-14 02:07:43 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-07-14 02:07:43 UTC (buildkit.dockerfile.v0)

ENV GPG_KEY=7169605F62C751356D054A26A821E680E5FA6305

2026-07-14 02:07:43 UTC (buildkit.dockerfile.v0)

ENV PYTHON_VERSION=3.12.13

2026-07-14 02:07:43 UTC (buildkit.dockerfile.v0)

ENV PYTHON_SHA256=c08bc65a81971c1dd5783182826503369466c7e67374d1646519adf05207b684

2026-07-14 02:19:37 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 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-07-14 02:19:37 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-07-14 02:19:37 UTC (buildkit.dockerfile.v0)

CMD ["python3"]

2026-07-14 06:00:06 UTC (buildkit.dockerfile.v0)

WORKDIR /app/api

2026-07-14 06:00:08 UTC (buildkit.dockerfile.v0)

ENV UV_VERSION=0.8.9

2026-07-14 06:00:08 UTC (buildkit.dockerfile.v0)

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

2026-07-14 06:00:08 UTC (buildkit.dockerfile.v0)

ENV TZ=UTC

2026-07-14 06:00:08 UTC (buildkit.dockerfile.v0)

ENV LANG=C.UTF-8

2026-07-14 06:00:08 UTC (buildkit.dockerfile.v0)

ENV LC_ALL=C.UTF-8

2026-07-14 06:00:08 UTC (buildkit.dockerfile.v0)

ENV PYTHONIOENCODING=utf-8

2026-07-14 06:00:08 UTC (buildkit.dockerfile.v0)

ENV PYTHONDONTWRITEBYTECODE=1

2026-07-14 06:00:08 UTC (buildkit.dockerfile.v0)

ENV PYTHONUNBUFFERED=1

2026-07-14 06:00:08 UTC (buildkit.dockerfile.v0)

WORKDIR /app/api

2026-07-14 06:00:08 UTC (buildkit.dockerfile.v0)

ARG dify_uid=1001

2026-07-14 06:00:08 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-07-14 06:00:08 UTC (buildkit.dockerfile.v0)

ENV VIRTUAL_ENV=/app/api/.venv

2026-07-28 01:27:17 UTC (buildkit.dockerfile.v0)

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

2026-07-28 01:27:17 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-07-28 01:28:33 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-07-28 01:28:33 UTC (buildkit.dockerfile.v0)

ARG COMMIT_SHA

2026-07-28 01:28:33 UTC (buildkit.dockerfile.v0)

ENV COMMIT_SHA=ea58129ebeec91fbe3cd6ef685dc0a76c2d268db

2026-07-28 01:28:33 UTC (buildkit.dockerfile.v0)

EXPOSE map[5050/tcp:{}]

2026-07-28 01:28:33 UTC (buildkit.dockerfile.v0)

USER dify

2026-07-28 01:28:33 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