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

2026-10-25 04:05:44 UTC

Size

333 MB

Content Digest
Labels
  • org.opencontainers.image.created
    2026-10-25T08:18:40.575Z
  • 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
    5c510d0737486e4841fbeefe2998c9ab63c8f17f
  • 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

5c510d0737486e4841fbeefe2998c9ab63c8f17f

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

6020bd10aff3bf4821be16f088ebb1591beb7b811dcd8fab1da8f7c22a7b27e7

PYTHON_VERSION

3.13.17

TZ

UTC

UV_VERSION

0.8.9

VIRTUAL_ENV

/app/api/.venv


Layers

[#000] sha256:f2be67225471500c788ce88c597eb5ea8336e912ad1ca4815650e0281afe2034 - 8.54% (28.5 MB)

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

[#002] sha256:e1f7d490169d660949e28a29d1d513760a431ac5cda9c666f3be44a4b7a42469 - 3.41% (11.4 MB)

[#003] sha256:1972997cb12722025e38722a7ac2d1f2526e93b32650511f0da9153772c4fa86 - 0.0% (250 Bytes)

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

[#005] sha256:91da7b20ea834f93d62e5e8380c6b0057b1538b70cebb58bd18df20318aba83a - 6.84% (22.8 MB)

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

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

[#008] sha256:1d97d968539cd14fe8fb60c22ae9f9c66f1ad98d58e63697d15c29f8a663d8d1 - 80.84% (269 MB)

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


History
2026-10-20 21:32:55 UTC (debuerreotype 0.17)

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

2026-10-21 22:25:14 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:25:14 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-21 22:25:14 UTC (buildkit.dockerfile.v0)

ENV GPG_KEY=7169605F62C751356D054A26A821E680E5FA6305

2026-10-21 22:25:14 UTC (buildkit.dockerfile.v0)

ENV PYTHON_VERSION=3.13.17

2026-10-21 22:25:14 UTC (buildkit.dockerfile.v0)

ENV PYTHON_SHA256=6020bd10aff3bf4821be16f088ebb1591beb7b811dcd8fab1da8f7c22a7b27e7

2026-10-21 22:36: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; apt-get dist-clean; export PYTHONDONTWRITEBYTECODE=1; python3 --version; pip3 --version # buildkit

2026-10-21 22:36: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-10-21 22:36:12 UTC (buildkit.dockerfile.v0)

CMD ["python3"]

2026-10-22 01:41:07 UTC (buildkit.dockerfile.v0)

WORKDIR /app/api

2026-10-22 01:41:10 UTC (buildkit.dockerfile.v0)

ENV UV_VERSION=0.8.9

2026-10-22 01:41:10 UTC (buildkit.dockerfile.v0)

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

2026-10-22 01:41:10 UTC (buildkit.dockerfile.v0)

ENV TZ=UTC

2026-10-22 01:41:10 UTC (buildkit.dockerfile.v0)

ENV LANG=C.UTF-8

2026-10-22 01:41:10 UTC (buildkit.dockerfile.v0)

ENV LC_ALL=C.UTF-8

2026-10-22 01:41:10 UTC (buildkit.dockerfile.v0)

ENV PYTHONIOENCODING=utf-8

2026-10-22 01:41:10 UTC (buildkit.dockerfile.v0)

ENV PYTHONDONTWRITEBYTECODE=1

2026-10-22 01:41:10 UTC (buildkit.dockerfile.v0)

ENV PYTHONUNBUFFERED=1

2026-10-22 01:41:10 UTC (buildkit.dockerfile.v0)

WORKDIR /app/api

2026-10-22 01:41:10 UTC (buildkit.dockerfile.v0)

ARG dify_uid=1001

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

ENV VIRTUAL_ENV=/app/api/.venv

2026-10-25 04:04:21 UTC (buildkit.dockerfile.v0)

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

2026-10-25 04:04:21 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-25 04:05:44 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-25 04:05:44 UTC (buildkit.dockerfile.v0)

ARG COMMIT_SHA

2026-10-25 04:05:44 UTC (buildkit.dockerfile.v0)

ENV COMMIT_SHA=5c510d0737486e4841fbeefe2998c9ab63c8f17f

2026-10-25 04:05:44 UTC (buildkit.dockerfile.v0)

EXPOSE map[5050/tcp:{}]

2026-10-25 04:05:44 UTC (buildkit.dockerfile.v0)

USER dify

2026-10-25 04:05:44 UTC (buildkit.dockerfile.v0)

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

Details
Created

2026-10-25 04:05:53 UTC

Size

319 MB

Content Digest
Labels
  • org.opencontainers.image.created
    2026-10-25T08:18:40.603Z
  • 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
    5c510d0737486e4841fbeefe2998c9ab63c8f17f
  • 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

5c510d0737486e4841fbeefe2998c9ab63c8f17f

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

6020bd10aff3bf4821be16f088ebb1591beb7b811dcd8fab1da8f7c22a7b27e7

PYTHON_VERSION

3.13.17

TZ

UTC

UV_VERSION

0.8.9

VIRTUAL_ENV

/app/api/.venv


Layers

[#000] sha256:ddc0c1e36a6793411b6c8d48e1ddad2987405d377da92bcf532ed3181c2e4d62 - 9.02% (28.8 MB)

[#001] sha256:78a50c06ce42c2f911e33e68833266329ff22d0b04d71aeb1678436d23e46464 - 0.38% (1.21 MB)

[#002] sha256:39e50da402344f8f79705949b984daf0d6cb906bc50bbae03011f5e510135f67 - 3.54% (11.3 MB)

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

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

[#005] sha256:240a5374b28e68cec8f8ba0c7882941ca0bcce6d0238027dc2e1e13205ef1845 - 6.8% (21.7 MB)

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

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

[#008] sha256:627a17df43b643d95285941acac51a1862a587a7539d3dce54abc9b241e21f80 - 80.26% (256 MB)

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


History
2026-10-20 21:32:55 UTC (debuerreotype 0.17)

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

2026-10-21 22:31:30 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:31:30 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-21 22:31:30 UTC (buildkit.dockerfile.v0)

ENV GPG_KEY=7169605F62C751356D054A26A821E680E5FA6305

2026-10-21 22:31:30 UTC (buildkit.dockerfile.v0)

ENV PYTHON_VERSION=3.13.17

2026-10-21 22:31:30 UTC (buildkit.dockerfile.v0)

ENV PYTHON_SHA256=6020bd10aff3bf4821be16f088ebb1591beb7b811dcd8fab1da8f7c22a7b27e7

2026-10-21 22:46: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-21 22:46: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-21 22:46:03 UTC (buildkit.dockerfile.v0)

CMD ["python3"]

2026-10-22 02:13:39 UTC (buildkit.dockerfile.v0)

WORKDIR /app/api

2026-10-22 02:13:43 UTC (buildkit.dockerfile.v0)

ENV UV_VERSION=0.8.9

2026-10-22 02:13:43 UTC (buildkit.dockerfile.v0)

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

2026-10-22 02:13:43 UTC (buildkit.dockerfile.v0)

ENV TZ=UTC

2026-10-22 02:13:43 UTC (buildkit.dockerfile.v0)

ENV LANG=C.UTF-8

2026-10-22 02:13:43 UTC (buildkit.dockerfile.v0)

ENV LC_ALL=C.UTF-8

2026-10-22 02:13:43 UTC (buildkit.dockerfile.v0)

ENV PYTHONIOENCODING=utf-8

2026-10-22 02:13:43 UTC (buildkit.dockerfile.v0)

ENV PYTHONDONTWRITEBYTECODE=1

2026-10-22 02:13:43 UTC (buildkit.dockerfile.v0)

ENV PYTHONUNBUFFERED=1

2026-10-22 02:13:43 UTC (buildkit.dockerfile.v0)

WORKDIR /app/api

2026-10-22 02:13:43 UTC (buildkit.dockerfile.v0)

ARG dify_uid=1001

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

ENV VIRTUAL_ENV=/app/api/.venv

2026-10-25 04:04:23 UTC (buildkit.dockerfile.v0)

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

2026-10-25 04:04:23 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-25 04:05:53 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-25 04:05:53 UTC (buildkit.dockerfile.v0)

ARG COMMIT_SHA

2026-10-25 04:05:53 UTC (buildkit.dockerfile.v0)

ENV COMMIT_SHA=5c510d0737486e4841fbeefe2998c9ab63c8f17f

2026-10-25 04:05:53 UTC (buildkit.dockerfile.v0)

EXPOSE map[5050/tcp:{}]

2026-10-25 04:05:53 UTC (buildkit.dockerfile.v0)

USER dify

2026-10-25 04:05:53 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