Skip to content

Commit

Permalink
Fix: aarch64 アーキテクチャの Docker イメージビルドが失敗する問題を修正
Browse files Browse the repository at this point in the history
  • Loading branch information
tsukumijima committed Nov 23, 2024
1 parent c560211 commit 4dc7398
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ RUN <<EOF
apt-get update
apt-get install -y \
git \
wget \
curl \
cmake \
ca-certificates \
build-essential \
Expand All @@ -99,7 +99,11 @@ ADD ./poetry.toml ./poetry.lock ./pyproject.toml /opt/aivisspeech-engine/
RUN <<EOF
/opt/python/bin/pip3 install poetry
chown -R user /opt/aivisspeech-engine
# Install Rust (wheel build dependencies)
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
source $HOME/.cargo/env
gosu user /opt/python/bin/poetry install --only=main
rm -rf /root/.cargo
EOF

# Add local files
Expand Down

0 comments on commit 4dc7398

Please sign in to comment.