ysn-rfd/text-dataset-tiny-code-script-py-format
USED of tahamajs/medicine_ds_persian for .parquet file USED of Alijafarixcs2/persian-it-llama2-2k for .parquet file USED of Abirate/english_quotes for .jsonl file NEW FILES (05/12/2025) NEW FILES (12/26/2025) NEW FILES (02/15/2026)
31.7k
1 2# See also https://scikit-learn.org/dev/developers/contributing.html#documentation3 4FROM ubuntu:22.04 AS sklearn5 6LABEL maintainer="unknownue <unknownue@outlook.com>"7LABEL description="An docker environment to build offline scikit-learn Docs"8LABEL license="MIT"9 10ARG PYTHON_VERSION=3.1111ARG SKLEARN_VERSION=1.3.212 13ENV DEBIAN_FRONTEND=noninteractive14 15WORKDIR /root/16 17ENV PATH "/root/usr/bin:${PATH}"18 19RUN apt update && apt upgrade -y && \20 apt install -y --no-install-recommends git wget build-essential p7zip-full ca-certificates ffmpeg && \21 apt clean22 23# Install Python 3 and corresponding pip24RUN apt install -y --no-install-recommends python$PYTHON_VERSION python3-distutils python3-scipy python$PYTHON_VERSION-dev && \25 wget https://bootstrap.pypa.io/get-pip.py && python3 get-pip.py && \26 apt clean && \27 ln -sf python$PYTHON_VERSION /usr/bin/python && ln -sf pip3 /usr/bin/pip28 29RUN pip3 install --upgrade pip && \30 pip3 install pqi && pqi use aliyun31 32RUN pip3 install --no-cache-dir Cython joblib pytest && \33 pip3 install --no-cache-dir sphinx sphinx-gallery numpydoc matplotlib Pillow pandas \34 scikit-image packaging seaborn sphinx-prompt \35 sphinxext-opengraph sphinx-copybutton plotly pooch && \36 pip install --no-cache-dir scikit-learn==$SKLEARN_VERSION37 38# install latex39# RUN apt install -y --no-install-recommends latexmk && \40 # apt install -y --no-install-recommends texlive-latex-extra41 42RUN wget https://github.com/scikit-learn/scikit-learn/archive/refs/tags/$SKLEARN_VERSION.zip -O sklearn.zip && \43 7z x sklearn.zip && rm sklearn.zip && mv scikit-learn-$SKLEARN_VERSION/ sklearn/44 45WORKDIR /root/scikit-learn/doc46CMD ["bash"]47 48 