aws / aws-codebuild-docker-images

Official AWS CodeBuild repository for managed Docker images http://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref.html
Other
1.11k stars 973 forks source link

docker error #678

Closed yumo-mt closed 9 months ago

yumo-mt commented 11 months ago

I need to deploy a front-end project on aws. In my front-end react project, pnpm is used to install the npm package, so I need a pnpm environment on aws, but the Docker image provided by CodeBuild on aws (aws/codebuild/amazonlinux2-x86_64 -standard:5.0) there is no pnpm environment, I need the pnpm environment. what should I do?

mbacchi commented 11 months ago

In your CodeBuild buildspec.yaml file you can install any tools you need in the Install phase.

subinataws commented 9 months ago

@yumo-mt - As suggested by @mbacchi you can install any custom tooling in your buildspec. CodeBuild doesn't plan to include pnpm support in its managed images.