Namespace
infiniflow
Image / Tag
ragflow:v0.16.0-slim
Content Digest
sha256:9aba5f31a756b422f093cb33201bad3cd9a3c8e49983f44aca4a78166d911049
Details
Created

2025-02-06 12:19:28 UTC

Size

2.54 GB

Content Digest
Labels
  • org.opencontainers.image.ref.name
    ubuntu
  • org.opencontainers.image.version
    22.04

Environment
DEBIAN_FRONTEND

noninteractive

DOTNET_SYSTEM_GLOBALIZATION_INVARIANT

1

LIGHTEN

1

PATH

/ragflow/.venv/bin:/root/.cargo/bin:/root/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PYTHONDONTWRITEBYTECODE

1

PYTHONPATH

/ragflow/

TIKA_SERVER_JAR

file:///ragflow/tika-server-standard-3.0.0.jar

VIRTUAL_ENV

/ragflow/.venv


Layers

[#000] sha256:9cb31e2e37eab1bff50f727e979fcacb509e225fb853433a6fe21d2fb34e6305 - 1.08% (28.2 MB)

[#001] sha256:f66afa6ed86d01df7f36b09bf8f85217e6725c3e426c51579df566ebbd60d806 - 0.0% (97 Bytes)

[#002] sha256:c0b6e82f77637942f7bd92e5a14e26f49589ed42f4497d853541236a8a87c5e8 - 0.0% (186 Bytes)

[#003] sha256:98d40fbe43b03ad0fe720cad49627b95bc5d27552ccda7c9d0dbb316b665cbbe - 12.07% (314 MB)

[#004] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)

[#005] sha256:454c8f08098fa23e97b2b532db7265e432211ec8bc24177a808bbb01ae0c5a6a - 3.89% (101 MB)

[#006] sha256:ba58b7d7f3e6cea4f5b94c878e86af6849b95e58ca9ae69af4b16cb01d26c6ad - 19.35% (502 MB)

[#007] sha256:0b2702c7b43bb6ca880b7b3f069355a0d46c874fbcdede6ccc6b56c4402a1c2c - 1.55% (40.1 MB)

[#008] sha256:c22f2069368ae6b117dda121701c8659f69840d9656ed6abdf3d3d00617a35f9 - 1.77% (45.9 MB)

[#009] sha256:27727dc21410660c33a3523af732746668b84d562cbf6d1ff844c85900b037f4 - 8.71% (226 MB)

[#010] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)

[#011] sha256:93a1fefb985860e0901b7eed828d8095220a3716a683452e9a640ad37683f9f2 - 0.1% (2.58 MB)

[#012] sha256:2a274e8f5125b3371f5892810c702a7c3818008cf7ac9f06da1c063c3b5189cc - 5.14% (133 MB)

[#013] sha256:31e966c60abd5e441959b7ae758beb69b3cf79996ddedff421d60dfdf257e6ca - 0.3% (7.74 MB)

[#014] sha256:dce6cf4bf01b702e1f20cbeaf8e99ed961c247de8d90a1bbe04363b8465dd41c - 0.09% (2.32 MB)

[#015] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)

[#016] sha256:dd393ea44f407defb08beb91e19f3c33ebca9ea35153cec1fa468666c5c705cf - 41.93% (1.06 GB)

[#017] sha256:a11182f22cb2d8cecc6ffdcf390045ad3a7df915b82e10641ed57aeb5828ec4c - 1.48% (38.3 MB)

[#018] sha256:d9cf478b905a70ebff46fab63df2e71c2788ce7981c0947c977aa45c29ef8ef3 - 0.0% (97.6 KB)

[#019] sha256:41bda45573a0ec682c8ce402561d4a77d896cf1ca42c48b0f3323cb767668cc2 - 0.0% (8.82 KB)

[#020] sha256:6ef2440c40394799a2fc5ce4f534b9c4488fe1311d382230e24c7472e49f8fd3 - 0.01% (393 KB)

[#021] sha256:6d700680e345b0644746a188f5c0d966602e35c103d298d856e69c0d2e22cfc8 - 0.17% (4.33 MB)

[#022] sha256:6ee3c5388aa0eabe59f46c8e0498a3e60fc4cdaceae070f5eb52c76f9d97cbfd - 0.01% (366 KB)

[#023] sha256:9a4c34f68544526d2941912e534d6718f91e12b54d146f9ccd50b638e5540df0 - 0.0% (40 KB)

[#024] sha256:d64e42ce65d2a14a058b5f9a8c9dc1ba62be175f565d63f388f2c77382edb7f1 - 0.01% (235 KB)

[#025] sha256:cfd47ab5dd2320d089d26ee516a4a5158185dc4db853575a05a7a0fc8d6ba04b - 0.0% (942 Bytes)

[#026] sha256:afbf250c87a63699f2419bd0fd19adb36ef482d6f8feb5f0e3c96b0fd1b687ab - 0.0% (632 Bytes)

[#027] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)

[#028] sha256:c6d30f69f49778ca08261d286d8242ae124b0de2a6188f0e8b1b01f9da810f11 - 2.35% (60.9 MB)

[#029] sha256:6f59f7d5f427940f868eabba93863dc832282508a4b4c839565ab805383b82ce - 0.0% (159 Bytes)


History
2025-01-26 05:31:07 UTC

/bin/sh -c #(nop) ARG RELEASE

2025-01-26 05:31:07 UTC

/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH

2025-01-26 05:31:07 UTC

/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu

2025-01-26 05:31:07 UTC

/bin/sh -c #(nop) LABEL org.opencontainers.image.version=22.04

2025-01-26 05:31:10 UTC

/bin/sh -c #(nop) ADD file:1b6c8c9518be42fa2afe5e241ca31677fce58d27cdfa88baa91a65a259be3637 in /

2025-01-26 05:31:11 UTC

/bin/sh -c #(nop) CMD ["/bin/bash"]

2025-02-06 11:45:38 UTC (buildkit.dockerfile.v0)

USER root

2025-02-06 11:45:38 UTC (buildkit.dockerfile.v0)

SHELL [/bin/bash -c]

2025-02-06 11:45:38 UTC (buildkit.dockerfile.v0)

ARG NEED_MIRROR=0

2025-02-06 11:45:38 UTC (buildkit.dockerfile.v0)

ARG LIGHTEN=1

2025-02-06 11:45:38 UTC (buildkit.dockerfile.v0)

ENV LIGHTEN=1

2025-02-06 11:45:38 UTC (buildkit.dockerfile.v0)

WORKDIR /ragflow

2025-02-06 12:10:09 UTC (buildkit.dockerfile.v0)

RUN |2 NEED_MIRROR=0 LIGHTEN=1 /bin/bash -c mkdir -p /ragflow/rag/res/deepdoc /root/.ragflow # buildkit

2025-02-06 12:10:13 UTC (buildkit.dockerfile.v0)

RUN |2 NEED_MIRROR=0 LIGHTEN=1 /bin/bash -c cp /huggingface.co/InfiniFlow/huqie/huqie.txt.trie /ragflow/rag/res/ && tar --exclude='.*' -cf - /huggingface.co/InfiniFlow/text_concat_xgb_v1.0 /huggingface.co/InfiniFlow/deepdoc | tar -xf - --strip-components=3 -C /ragflow/rag/res/deepdoc # buildkit

2025-02-06 12:10:13 UTC (buildkit.dockerfile.v0)

RUN |2 NEED_MIRROR=0 LIGHTEN=1 /bin/bash -c if [ "$LIGHTEN" != "1" ]; then (tar -cf - /huggingface.co/BAAI/bge-large-zh-v1.5 /huggingface.co/BAAI/bge-reranker-v2-m3 /huggingface.co/maidalun1020/bce-embedding-base_v1 /huggingface.co/maidalun1020/bce-reranker-base_v1 | tar -xf - --strip-components=2 -C /root/.ragflow) fi # buildkit

2025-02-06 12:10:14 UTC (buildkit.dockerfile.v0)

RUN |2 NEED_MIRROR=0 LIGHTEN=1 /bin/bash -c cp -r /deps/nltk_data /root/ && cp /deps/tika-server-standard-3.0.0.jar /deps/tika-server-standard-3.0.0.jar.md5 /ragflow/ && cp /deps/cl100k_base.tiktoken /ragflow/9b5ad71b2ce5302211f9c61530b329a4922fc6a4 # buildkit

2025-02-06 12:10:14 UTC (buildkit.dockerfile.v0)

ENV TIKA_SERVER_JAR=file:///ragflow/tika-server-standard-3.0.0.jar

2025-02-06 12:10:14 UTC (buildkit.dockerfile.v0)

ENV DEBIAN_FRONTEND=noninteractive

2025-02-06 12:12:26 UTC (buildkit.dockerfile.v0)

RUN |2 NEED_MIRROR=0 LIGHTEN=1 /bin/bash -c if [ "$NEED_MIRROR" == "1" ]; then sed -i 's|http://archive.ubuntu.com|https://mirrors.tuna.tsinghua.edu.cn|g' /etc/apt/sources.list; fi; rm -f /etc/apt/apt.conf.d/docker-clean && echo 'Binary::apt::APT::Keep-Downloaded-Packages "true";' > /etc/apt/apt.conf.d/keep-cache && chmod 1777 /tmp && apt update && apt --no-install-recommends install -y ca-certificates && apt update && apt install -y libglib2.0-0 libglx-mesa0 libgl1 && apt install -y pkg-config libicu-dev libgdiplus && apt install -y default-jdk && apt install -y libatk-bridge2.0-0 && apt install -y libpython3-dev libgtk-4-1 libnss3 xdg-utils libgbm-dev && apt install -y python3-pip pipx nginx unzip curl wget git vim less # buildkit

2025-02-06 12:12:39 UTC (buildkit.dockerfile.v0)

RUN |2 NEED_MIRROR=0 LIGHTEN=1 /bin/bash -c if [ "$NEED_MIRROR" == "1" ]; then pip3 config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple && pip3 config set global.trusted-host pypi.tuna.tsinghua.edu.cn; mkdir -p /etc/uv && echo "[[index]]" > /etc/uv/uv.toml && echo 'url = "https://pypi.tuna.tsinghua.edu.cn/simple"' >> /etc/uv/uv.toml && echo "default = true" >> /etc/uv/uv.toml; fi; pipx install uv # buildkit

2025-02-06 12:12:39 UTC (buildkit.dockerfile.v0)

ENV PYTHONDONTWRITEBYTECODE=1 DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1

2025-02-06 12:12:39 UTC (buildkit.dockerfile.v0)

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

2025-02-06 12:12:57 UTC (buildkit.dockerfile.v0)

RUN |2 NEED_MIRROR=0 LIGHTEN=1 /bin/bash -c curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && apt purge -y nodejs npm cargo && apt autoremove -y && apt update && apt install -y nodejs # buildkit

2025-02-06 12:13:16 UTC (buildkit.dockerfile.v0)

RUN |2 NEED_MIRROR=0 LIGHTEN=1 /bin/bash -c apt update && apt install -y curl build-essential && if [ "$NEED_MIRROR" == "1" ]; then export RUSTUP_DIST_SERVER="https://mirrors.tuna.tsinghua.edu.cn/rustup"; export RUSTUP_UPDATE_ROOT="https://mirrors.tuna.tsinghua.edu.cn/rustup/rustup"; echo "Using TUNA mirrors for Rustup."; fi; curl --proto '=https' --tlsv1.2 --http1.1 -sSf https://sh.rustup.rs | bash -s -- -y --profile minimal && echo 'export PATH="/root/.cargo/bin:${PATH}"' >> /root/.bashrc # buildkit

2025-02-06 12:13:16 UTC (buildkit.dockerfile.v0)

ENV PATH=/root/.cargo/bin:/root/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

2025-02-06 12:13:16 UTC (buildkit.dockerfile.v0)

RUN |2 NEED_MIRROR=0 LIGHTEN=1 /bin/bash -c cargo --version && rustc --version # buildkit

2025-02-06 12:13:24 UTC (buildkit.dockerfile.v0)

RUN |2 NEED_MIRROR=0 LIGHTEN=1 /bin/bash -c curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add - && curl https://packages.microsoft.com/config/ubuntu/22.04/prod.list > /etc/apt/sources.list.d/mssql-release.list && apt update && arch="$(uname -m)"; if [ "$arch" = "arm64" ] || [ "$arch" = "aarch64" ]; then ACCEPT_EULA=Y apt install -y unixodbc-dev msodbcsql18; else ACCEPT_EULA=Y apt install -y unixodbc-dev msodbcsql17; fi || { echo "Failed to install ODBC driver"; exit 1; } # buildkit

2025-02-06 12:13:30 UTC (buildkit.dockerfile.v0)

RUN |2 NEED_MIRROR=0 LIGHTEN=1 /bin/bash -c unzip /chrome-linux64.zip && mv chrome-linux64 /opt/chrome && ln -s /opt/chrome/chrome /usr/local/bin/ # buildkit

2025-02-06 12:13:30 UTC (buildkit.dockerfile.v0)

RUN |2 NEED_MIRROR=0 LIGHTEN=1 /bin/bash -c unzip -j /chromedriver-linux64.zip chromedriver-linux64/chromedriver && mv chromedriver /usr/local/bin/ && rm -f /usr/bin/google-chrome # buildkit

2025-02-06 12:13:31 UTC (buildkit.dockerfile.v0)

RUN |2 NEED_MIRROR=0 LIGHTEN=1 /bin/bash -c if [ "$(uname -m)" = "x86_64" ]; then dpkg -i /deps/libssl1.1_1.1.1f-1ubuntu2_amd64.deb; elif [ "$(uname -m)" = "aarch64" ]; then dpkg -i /deps/libssl1.1_1.1.1f-1ubuntu2_arm64.deb; fi # buildkit

2025-02-06 12:13:31 UTC (buildkit.dockerfile.v0)

USER root

2025-02-06 12:13:31 UTC (buildkit.dockerfile.v0)

WORKDIR /ragflow

2025-02-06 12:13:31 UTC (buildkit.dockerfile.v0)

ENV VIRTUAL_ENV=/ragflow/.venv

2025-02-06 12:19:25 UTC (buildkit.dockerfile.v0)

COPY /ragflow/.venv /ragflow/.venv # buildkit

2025-02-06 12:19:25 UTC (buildkit.dockerfile.v0)

ENV PATH=/ragflow/.venv/bin:/root/.cargo/bin:/root/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

2025-02-06 12:19:25 UTC (buildkit.dockerfile.v0)

ENV PYTHONPATH=/ragflow/

2025-02-06 12:19:26 UTC (buildkit.dockerfile.v0)

COPY web web # buildkit

2025-02-06 12:19:27 UTC (buildkit.dockerfile.v0)

COPY api api # buildkit

2025-02-06 12:19:27 UTC (buildkit.dockerfile.v0)

COPY conf conf # buildkit

2025-02-06 12:19:27 UTC (buildkit.dockerfile.v0)

COPY deepdoc deepdoc # buildkit

2025-02-06 12:19:27 UTC (buildkit.dockerfile.v0)

COPY rag rag # buildkit

2025-02-06 12:19:27 UTC (buildkit.dockerfile.v0)

COPY agent agent # buildkit

2025-02-06 12:19:27 UTC (buildkit.dockerfile.v0)

COPY graphrag graphrag # buildkit

2025-02-06 12:19:27 UTC (buildkit.dockerfile.v0)

COPY pyproject.toml uv.lock ./ # buildkit

2025-02-06 12:19:27 UTC (buildkit.dockerfile.v0)

COPY docker/service_conf.yaml.template ./conf/service_conf.yaml.template # buildkit

2025-02-06 12:19:27 UTC (buildkit.dockerfile.v0)

COPY docker/entrypoint.sh docker/entrypoint-parser.sh ./ # buildkit

2025-02-06 12:19:27 UTC (buildkit.dockerfile.v0)

RUN |2 NEED_MIRROR=0 LIGHTEN=1 /bin/bash -c chmod +x ./entrypoint*.sh # buildkit

2025-02-06 12:19:28 UTC (buildkit.dockerfile.v0)

COPY /ragflow/web/dist /ragflow/web/dist # buildkit

2025-02-06 12:19:28 UTC (buildkit.dockerfile.v0)

COPY /ragflow/VERSION /ragflow/VERSION # buildkit

2025-02-06 12:19:28 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["./entrypoint.sh"]

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