Namespace
infiniflow
Image / Tag
ragflow:v0.17.0-slim
Content Digest
sha256:ca16fbcf5715665e3cf77295467002406efb5b2bd670fc3e420718d220ba2224
Details
Created

2025-03-02 11:14:22 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:6414378b647780fee8fd903ddb9541d134a1947ce092d08bdeb23a54cb3684ac - 1.08% (28.2 MB)

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

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

[#003] sha256:86b9a9618b1e8cbeb80c7b882978cd5a7421cebcebc016bd8f9811ab16b433d8 - 12.06% (314 MB)

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

[#005] sha256:6e9fa6351733568ac7dfa348358b53e24a0814846d1b8089216e322633f0f37b - 3.89% (101 MB)

[#006] sha256:34647ba9110210fd3ebe62cce64cf1c989a63954686f51c16ce2101ec198a294 - 19.52% (508 MB)

[#007] sha256:74e21af98ded59a7eee74b095c311702d162f44c6c3d0a5e988bd1928402308c - 1.54% (40 MB)

[#008] sha256:5f7b852893fe36d37ec103fe23ab73605e5f9709114a2f2526b18f76872fe043 - 1.78% (46.4 MB)

[#009] sha256:16b7e48f1beb157d8837be8426b090a6557ecfd1f588a8125ebc59de0d8dda87 - 8.61% (224 MB)

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

[#011] sha256:063fe93c28496e24983f03cad8907160c015baac10805e69dea1d051e9ff1701 - 0.11% (2.76 MB)

[#012] sha256:ef4b75a20c72a5abb2d0179861b1d97c5c3900871296cbe1dd38061ea2e58ec2 - 5.13% (133 MB)

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

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

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

[#016] sha256:bac2a8e9717323733a585324441be07dd8be17c3c41a78646a831cdfb2ef8166 - 41.72% (1.06 GB)

[#017] sha256:d19cc89bef1d5848e4c65fe38ec54d96898622e9ccda86a5a5342d5e04cd3e41 - 1.51% (39.3 MB)

[#018] sha256:b5a88e1a546ca550471734a8eb2545d6b0aa3e0eca72c5aa56fc7b8cf8f6ab2c - 0.0% (97.3 KB)

[#019] sha256:df8e5ae22575a08f7f59b46ae6c93cc1d3a8ac72577863fa49efd885ac97cae4 - 0.0% (10 KB)

[#020] sha256:67df49856917beb23b8efb28d330ec0b15ebe1f61a7385a022d1efda2e211cc6 - 0.01% (392 KB)

[#021] sha256:7664a30f6b7940919e12b5ab472ae2f252532f07e0fff31b83fe83b1b273c445 - 0.17% (4.33 MB)

[#022] sha256:5829c26d512ae2fcb24e04da0286346c3a1a511b469818ba3d2302bbd01bb02f - 0.01% (369 KB)

[#023] sha256:fc6785929f68113cf7fc09137e998b072429aef3d2cdf41797f0e8d9eb870cae - 0.0% (40.1 KB)

[#024] sha256:204ba6282e3a0eab3bb485de589020fda901356cd8e4bc75ad8f8b8864f04797 - 0.0% (3.87 KB)

[#025] sha256:dd61372635ad96272e98d7a82b0d8bdcb87abfad93d03b893e2bc8779f447387 - 0.01% (223 KB)

[#026] sha256:546cd20fd47174304b60427e3306338ecc8fabe9abc9454188dcfe8bc27e3990 - 0.0% (1.08 KB)

[#027] sha256:5a0d6439d92956a40495b45688164f6aa885c8996587e8c12776b2061d38abcf - 0.0% (625 Bytes)

[#028] sha256:5a0d6439d92956a40495b45688164f6aa885c8996587e8c12776b2061d38abcf - 0.0% (625 Bytes)

[#029] sha256:51b5d43716f5a18a3e290eb29148c8bcf885e72ea6a4a0933668ac3ff9ae1a64 - 2.44% (63.5 MB)

[#030] sha256:754bbc77a9d36a191ccd0c2cb068386f13a8b3d755ea95e4fedbc6d0a5b264b8 - 0.0% (159 Bytes)


History
2024-09-11 16:25:16 UTC

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

2024-09-11 16:25:16 UTC

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

2024-09-11 16:25:16 UTC

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

2024-09-11 16:25:16 UTC

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

2024-09-11 16:25:17 UTC

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

2024-09-11 16:25:18 UTC

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

2025-02-25 04:52:09 UTC (buildkit.dockerfile.v0)

USER root

2025-02-25 04:52:09 UTC (buildkit.dockerfile.v0)

SHELL [/bin/bash -c]

2025-02-25 04:52:09 UTC (buildkit.dockerfile.v0)

ARG NEED_MIRROR=0

2025-02-25 04:52:09 UTC (buildkit.dockerfile.v0)

ARG LIGHTEN=1

2025-02-25 04:52:09 UTC (buildkit.dockerfile.v0)

ENV LIGHTEN=1

2025-02-25 04:52:09 UTC (buildkit.dockerfile.v0)

WORKDIR /ragflow

2025-02-25 05:13:51 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-25 05:13:57 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-25 05:13:57 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-25 05:13:59 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-25 05:13:59 UTC (buildkit.dockerfile.v0)

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

2025-02-25 05:13:59 UTC (buildkit.dockerfile.v0)

ENV DEBIAN_FRONTEND=noninteractive

2025-02-25 05:15:45 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-25 05:15:57 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://mirrors.aliyun.com/pypi/simple && pip3 config set global.trusted-host mirrors.aliyun.com; mkdir -p /etc/uv && echo "[[index]]" > /etc/uv/uv.toml && echo 'url = "https://mirrors.aliyun.com/pypi/simple"' >> /etc/uv/uv.toml && echo "default = true" >> /etc/uv/uv.toml; fi; pipx install uv # buildkit

2025-02-25 05:15:57 UTC (buildkit.dockerfile.v0)

ENV PYTHONDONTWRITEBYTECODE=1 DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1

2025-02-25 05:15:57 UTC (buildkit.dockerfile.v0)

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

2025-02-25 05:16:17 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-25 05:16:39 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-25 05:16:39 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-25 05:16:40 UTC (buildkit.dockerfile.v0)

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

2025-02-25 05:16:47 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-25 05:16:54 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-25 05:16:55 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-25 05:16:56 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-25 05:16:56 UTC (buildkit.dockerfile.v0)

USER root

2025-02-25 05:16:56 UTC (buildkit.dockerfile.v0)

WORKDIR /ragflow

2025-02-25 05:16:56 UTC (buildkit.dockerfile.v0)

ENV VIRTUAL_ENV=/ragflow/.venv

2025-03-02 11:14:20 UTC (buildkit.dockerfile.v0)

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

2025-03-02 11:14:20 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-03-02 11:14:20 UTC (buildkit.dockerfile.v0)

ENV PYTHONPATH=/ragflow/

2025-03-02 11:14:20 UTC (buildkit.dockerfile.v0)

COPY web web # buildkit

2025-03-02 11:14:20 UTC (buildkit.dockerfile.v0)

COPY api api # buildkit

2025-03-02 11:14:20 UTC (buildkit.dockerfile.v0)

COPY conf conf # buildkit

2025-03-02 11:14:21 UTC (buildkit.dockerfile.v0)

COPY deepdoc deepdoc # buildkit

2025-03-02 11:14:21 UTC (buildkit.dockerfile.v0)

COPY rag rag # buildkit

2025-03-02 11:14:21 UTC (buildkit.dockerfile.v0)

COPY agent agent # buildkit

2025-03-02 11:14:21 UTC (buildkit.dockerfile.v0)

COPY graphrag graphrag # buildkit

2025-03-02 11:14:21 UTC (buildkit.dockerfile.v0)

COPY agentic_reasoning agentic_reasoning # buildkit

2025-03-02 11:14:21 UTC (buildkit.dockerfile.v0)

COPY pyproject.toml uv.lock ./ # buildkit

2025-03-02 11:14:21 UTC (buildkit.dockerfile.v0)

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

2025-03-02 11:14:21 UTC (buildkit.dockerfile.v0)

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

2025-03-02 11:14:21 UTC (buildkit.dockerfile.v0)

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

2025-03-02 11:14:22 UTC (buildkit.dockerfile.v0)

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

2025-03-02 11:14:22 UTC (buildkit.dockerfile.v0)

COPY /ragflow/VERSION /ragflow/VERSION # buildkit

2025-03-02 11:14:22 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