Skip to content

Commit

Permalink
无法加载模块
Browse files Browse the repository at this point in the history
  • Loading branch information
Pan Chen committed Apr 9, 2024
1 parent 0851c19 commit 7772a7e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ rm -rf /var/lib/apt/lists/*
EOF

RUN <<EOF
pip install --no-cache-dir --upgrade pip
pip install --no-cache-dir -r requirements.txt
pip3 install --no-cache-dir --upgrade pip3
pip3 install --no-cache-dir -r requirements.txt
EOF
4 changes: 2 additions & 2 deletions .devcontainer/Dockerfile_pdf
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ rm -rf /var/lib/apt/lists/*
EOF

RUN <<EOF
pip install --no-cache-dir --upgrade pip
pip install --no-cache-dir -r requirements.txt
pip3 install --no-cache-dir --upgrade pip3
pip3 install --no-cache-dir -r requirements.txt
EOF
5 changes: 4 additions & 1 deletion .github/workflows/Build_Sphinx_Docker_Image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ jobs:
strategy:
fail-fast: false
matrix:
#platforms: [linux/amd64,linux/arm64]
platforms: [linux/amd64]
dockerfile: [.devcontainer/Dockerfile, .devcontainer/Dockerfile_pdf]
include:
- dockerfile: .devcontainer/Dockerfile
tags: |
Expand Down Expand Up @@ -59,7 +62,7 @@ jobs:
tags: ${{ matrix.tags }}
file: ${{ matrix.dockerfile }}
push: ${{ github.ref_type == 'tag' }}
platforms: linux/amd64,linux/arm64
platforms: ${{ matrix.platforms }}
# -
# name: Docker Hub Description
# uses: peter-evans/dockerhub-description@v3
Expand Down

0 comments on commit 7772a7e

Please sign in to comment.