• 0.1.1(稳定版)
    All checks were successful
    Build Docker Image / Explore-Gitea-Actions (push) Successful in 12s
    Stable

    martin released this 2025-01-14 09:22:24 +08:00 | 60 commits to main since this release

    安装

    # 初始化全部
    curl -sSL https://git.martin98.com/MartinFarm/init/raw/branch/main/init-all.sh | bash
    
    # apt + ntp 
    curl -sSL https://git.martin98.com/MartinFarm/init/raw/branch/main/init-apt.sh | bash
    # docker-ce
    curl -sSL https://git.martin98.com/MartinFarm/init/raw/branch/main/init-docker.sh | bash
    # npm
    curl -sSL https://git.martin98.com/MartinFarm/init/raw/branch/main/init-npm.sh | bash
    # pip
    curl -sSL https://git.martin98.com/MartinFarm/init/raw/branch/main/init-pip.sh | bash
    # git
    curl -sSL https://git.martin98.com/MartinFarm/init/raw/branch/main/init-git.sh | bash
    

    Python 镜像源配置测试

    pip config set global.index-url https://mirrors.martin98.com/repository/pypi-group/simple
    

    NPM

    npm config set registry https://mirrors.martin98.com/repository/npm-group/
    

    dockerfile

    COPY --from=docker.martin98.com/martin_farm/init:latest /scripts /scripts
    
    RUN --mount=type=cache,target=/var/cache/apt \
        --mount=type=cache,target=/var/lib/apt \
        bash /scripts/init-apt.sh
    

    APT 源说明

    • ${release}
    • ${release}-updates
    • ${release}-backports
    Downloads