From 53b192732c5f560882a2213e62dd142e5ef30721 Mon Sep 17 00:00:00 2001 From: Ed Morley <501702+edmorley@users.noreply.github.com> Date: Thu, 28 Nov 2024 00:06:05 +0000 Subject: [PATCH] Use `heroku/builder:24` in README usage instructions For multi-arch support + now that Heroku-24 is the default stack instead of Heroku-22. --- README.md | 2 +- buildpacks/nodejs-corepack/README.md | 2 +- buildpacks/nodejs-pnpm-install/README.md | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index b87667c4..6cda9435 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ To build a Node.js application codebase into a production image: ```bash $ cd ~/workdir/sample-nodejs-app -$ pack build sample-app --builder heroku/builder:22 +$ pack build sample-app --builder heroku/builder:24 ``` Then run the image: diff --git a/buildpacks/nodejs-corepack/README.md b/buildpacks/nodejs-corepack/README.md index 829eacc0..d260f5d8 100644 --- a/buildpacks/nodejs-corepack/README.md +++ b/buildpacks/nodejs-corepack/README.md @@ -59,7 +59,7 @@ For most users, it's simplest to build an app using [`pack`](https://buildpacks. and Heroku's [builder](https://github.com/heroku/cnb-builder-images), which includes this buildpack. ``` -pack build example-app-image --builder heroku/builder:22 --path /my/example-app +pack build example-app-image --builder heroku/builder:24 --path /my/example-app ``` For users desiring more control, this buildpack can be used as part of a diff --git a/buildpacks/nodejs-pnpm-install/README.md b/buildpacks/nodejs-pnpm-install/README.md index d710d7c0..2b23003c 100644 --- a/buildpacks/nodejs-pnpm-install/README.md +++ b/buildpacks/nodejs-pnpm-install/README.md @@ -93,11 +93,11 @@ command from Cloud Native Buildpacks using pack build example-app-image --buildpack heroku/nodejs-engine --buildpack heroku/nodejs-corepack --buildpack heroku/nodejs-pnpm-install --path /some/example-app ``` -Alternatively, use the `heroku/builder:22` builder, which includes the above +Alternatively, use the `heroku/builder:24` builder, which includes the above buildpacks: ``` -pack build example-app-image --builder heroku/builder:22 --path /some/example-app +pack build example-app-image --builder heroku/builder:24 --path /some/example-app ``` ## Build Plan