File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,19 +31,10 @@ jobs:
3131 run : |
3232 # パッケージディレクトリを作成
3333 mkdir -p package
34- # Amazon Linux 2コンテナで依存関係をビルド
35- docker run --rm -v $(pwd):/var/task amazonlinux:2 \
36- bash -c "
37- cd /var/task
38- yum update -y
39- yum install -y python3 python3-pip
40- python3 -m pip install --upgrade pip
41- python3 -m pip install -r requirements.txt -t ./package
42- echo 'Dependencies installed for Amazon Linux 2'
43- ls -la ./package
44- du -sh ./package
45- "
46- # パッケージディレクトリの存在を確認
34+ # manylinux2014_x86_64プラットフォームでバイナリをダウンロード
35+ python -m pip install --upgrade pip
36+ python -m pip install --platform manylinux2014_x86_64 --only-binary=all --target ./package -r requirements.txt
37+ echo "Dependencies installed for Amazon Linux 2 compatibility"
4738 echo "Package directory contents:"
4839 ls -la package/
4940 du -sh package/
You can’t perform that action at this time.
0 commit comments