Amplify 自定义构建映像的问题[重复]

问题描述 投票:0回答:1

我有一个包含 node.js 18.12.1 和 gatsby.js v5 的网站。上周,Amplify 向我抛出了这个错误:BUILD_CONTAINER_UNABLE_TO_PULL_IMAGE

My error

My custom build image

我需要指定mi节点版本。

如果我将构建设置更改为 Amazon linux 2,该项目将无法编译

New custom build image

error to compile

node.js aws-amplify
1个回答
-1
投票

非常感谢! 在 Amazon Linux 2 上的 AWS Amplify 中使用 NodeJS 18 失败 我已经设法使用此 docker 映像解决了我的问题:public.ecr.aws/t7o4u3y2/node-18.2.0:latest

© www.soinside.com 2019 - 2024. All rights reserved.