diff --git a/.github/workflows/docker-deploy.yml b/.github/workflows/docker-deploy.yml index 100d2a4..4d962e8 100644 --- a/.github/workflows/docker-deploy.yml +++ b/.github/workflows/docker-deploy.yml @@ -43,5 +43,5 @@ jobs: tags: | wizerd/pandora-to-api:${{ steps.tag_name.outputs.tag }} wizerd/pandora-to-api:latest - platforms: linux/amd64,linux/arm64,linux/arm/v7 + platforms: linux/amd64,linux/arm64 build-args: TARGETPLATFORM=${{ matrix.platform }} \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 594bc93..3255c4e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,17 +14,6 @@ RUN chmod +x /app/start.sh RUN apt update && apt install -y jq -RUN echo $TARGETPLATFORM - -RUN if [ "$TARGETPLATFORM" = "linux/arm/v7" ]; then \ - apt install -y zlib1g-dev libjpeg-dev gcc curl && \ - curl https://sh.rustup.rs -sSf | sh -s -- -y && \ - export PATH="/root/.cargo/bin:${PATH}"; \ - fi - -# 安装 Rust 编译器 -ENV PATH="/root/.cargo/bin:${PATH}" - # 设置 pip 源为清华大学镜像 RUN pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple