0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

M1Macでdocker buildがエラーになる

Posted at

備忘録。考えれば当たり前のことですが。。

エラー

※ECRにアップロードして、ECSで動かす前提です

Dockerfileに記載していたRUN pip install -r requirements.txtでgccが存在しないエラーを吐いていた

gccとgcc+を事前にapt-getするようにしても、起動後に停止してしまう

対応内容

docker build実行時に--platform linux/amd64オプションを追加する

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?