Skip to content

Commit

Permalink
Remove deprecated builder from documentation
Browse files Browse the repository at this point in the history
Replace the old builder:base and builder:full with builder-jammy-base
and builder-jammy-full respectively.

Signed-off-by: Aidan Delaney <[email protected]>
  • Loading branch information
AidanDelaney committed Feb 11, 2024
1 parent 4bb042f commit fb0c221
Show file tree
Hide file tree
Showing 15 changed files with 21 additions and 27 deletions.
2 changes: 1 addition & 1 deletion content/docs/howto/app-monitor.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ cd samples/java
Both of the examples assume that the [Paketo Base builder][base builder] is the default builder. If you haven't already, set it as the default now.

{{< code/copyable >}}
pack config default-builder paketobuildpacks/builder:base
pack config default-builder paketobuildpacks/builder-jammy-base
{{< /code/copyable >}}

### Example with a Binding
Expand Down
2 changes: 1 addition & 1 deletion content/docs/howto/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ The [pack CLI][pack] is used throughout the examples. `pack` is just one of seve

Examples assume that the [Paketo Base builder][base builder] is the default builder:
{{< code/copyable >}}
pack config default-builder paketobuildpacks/builder:base
pack config default-builder paketobuildpacks/builder-jammy-base
{{< /code/copyable >}}

## Types of Configuration
Expand Down
10 changes: 5 additions & 5 deletions content/docs/howto/create-paketo-buildpack.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ to build the app:
pack build <app-name> \
--path <path/to/app> \
--buildpack <path/to/project> \
--builder paketobuildpacks/builder:base \
--builder paketobuildpacks/builder-jammy-base \
--verbose
{{< /code/copyable >}}

Expand Down Expand Up @@ -217,7 +217,7 @@ GOOS=linux go build -ldflags="-s -w" -o ./bin/detect ./cmd/detect/main.go
pack build <app-name> \
--path <path/to/app> \
--buildpack <path/to/project> \
--builder paketobuildpacks/builder:base \
--builder paketobuildpacks/builder-jammy-base \
--verbose
{{< /code/copyable >}}

Expand Down Expand Up @@ -293,7 +293,7 @@ GOOS=linux go build -ldflags="-s -w" -o ./bin/build ./cmd/build/main.go
pack build <app-name> \
--path <path/to/app> \
--buildpack <path/to/project> \
--builder paketobuildpacks/builder:base \
--builder paketobuildpacks/builder-jammy-base \
--verbose
{{< /code/copyable >}}

Expand Down Expand Up @@ -386,7 +386,7 @@ GOOS=linux go build -ldflags="-s -w" -o ./bin/build ./cmd/build/main.go
pack build <app-name> \
--path <path/to/app> \
--buildpack <path/to/project> \
--builder paketobuildpacks/builder:base \
--builder paketobuildpacks/builder-jammy-base \
--verbose
{{< /code/copyable >}}

Expand Down Expand Up @@ -567,7 +567,7 @@ GOOS=linux go build -ldflags="-s -w" -o ./bin/build ./cmd/build/main.go
pack build <app-name> \
--path <path/to/app> \
--buildpack <path/to/project> \
--builder paketobuildpacks/builder:base \
--builder paketobuildpacks/builder-jammy-base \
--verbose
{{< /code/copyable >}}

Expand Down
2 changes: 1 addition & 1 deletion content/docs/howto/dotnet-core.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ To build your app locally with the buildpack using the `pack` CLI, run
git clone https://github.com/paketo-buildpacks/samples
cd samples/dotnet-core/aspnet
pack build my-app --buildpack paketo-buildpacks/dotnet-core \
--builder paketobuildpacks/builder:base
--builder paketobuildpacks/builder-jammy-base
{{< /code/copyable >}}

See
Expand Down
2 changes: 1 addition & 1 deletion content/docs/howto/go.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ cd samples/go/mod
1. Use the pack CLI with the Paketo Go Buildpack to build the sample app.
{{< code/copyable >}}
pack build my-app --buildpack paketo-buildpacks/go \
--builder paketobuildpacks/builder:base
--builder paketobuildpacks/builder-jammy-base
{{< /code/copyable >}}

1. Run the app using instructions found in its `README`.
Expand Down
4 changes: 2 additions & 2 deletions content/docs/howto/nodejs.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ To build a sample app locally with this buildpack using the pack CLI, run
git clone https://github.com/paketo-buildpacks/samples
cd samples/nodejs/npm
pack build my-app --buildpack paketo-buildpacks/nodejs \
--builder paketobuildpacks/builder:base
--builder paketobuildpacks/builder-jammy-base
{{< /code/copyable >}}

See [samples](https://github.com/paketo-buildpacks/samples/tree/main/nodejs/npm)
Expand Down Expand Up @@ -265,7 +265,7 @@ When building with the pack CLI, specify the latest Paketo Full Builder at build
with the `--builder` flag.

{{< code/copyable >}}
pack build my-app --builder paketobuildpacks/builder:full
pack build my-app --builder paketobuildpacks/builder-jammy-full
{{< /code/copyable >}}

## Build an App Without Package Management
Expand Down
2 changes: 1 addition & 1 deletion content/docs/howto/php.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ To build a sample app locally with this CNB using the `pack` CLI, run
git clone https://github.com/paketo-buildpacks/samples
cd samples/php/builtin-server
pack build my-app --buildpack paketo-buildpacks/php \
--builder paketobuildpacks/builder:full
--builder paketobuildpacks/builder-jammy-full
{{< /code/copyable >}}

See [samples](https://github.com/paketo-buildpacks/samples/tree/main/php/builtin-server)
Expand Down
4 changes: 2 additions & 2 deletions content/docs/howto/python.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ To build a sample app locally with this buildpack using the pack CLI, run
git clone https://github.com/paketo-buildpacks/samples
cd samples/python/pip
pack build my-app --buildpack paketo-buildpacks/python \
--builder paketobuildpacks/builder:base
--builder paketobuildpacks/builder-jammy-base
{{< /code/copyable >}}

See
Expand Down Expand Up @@ -122,7 +122,7 @@ value supported.

{{< code/copyable >}}
pack build my-app --env BP_CONDA_SOLVER=mamba --buildpack paketo-buildpacks/python \
--builder paketobuildpacks/builder:base
--builder paketobuildpacks/builder-jammy-base
{{< /code/copyable >}}

**Note:** This does not change the buildpack to be mamba based, only their solver
Expand Down
2 changes: 1 addition & 1 deletion content/docs/howto/ruby.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ cd samples/ruby/puma
1. Use the pack CLI with the Paketo Ruby Buildpack to build the sample app.
{{< code/copyable >}}
pack build my-app --buildpack paketo-buildpacks/ruby \
--builder paketobuildpacks/builder:base
--builder paketobuildpacks/builder-jammy-base
{{< /code/copyable >}}

1. Run the app using instructions found in its `README`.
Expand Down
4 changes: 2 additions & 2 deletions content/docs/howto/web-servers.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ To build a sample app locally with this CNB using the `pack` CLI, run
git clone https://github.com/paketo-buildpacks/samples
cd samples/httpd
pack build my-app --buildpack paketo-buildpacks/httpd \
--builder paketobuildpacks/builder:full
--builder paketobuildpacks/builder-jammy-full
{{< /code/copyable >}}

See [samples](https://github.com/paketo-buildpacks/samples/tree/main/web-servers)
Expand Down Expand Up @@ -137,7 +137,7 @@ To build a sample app locally with this CNB using the `pack` CLI, run
git clone https://github.com/paketo-buildpacks/samples
cd samples/nginx
pack build my-app --buildpack paketo-buildpacks/nginx \
--builder paketobuildpacks/builder:base
--builder paketobuildpacks/builder-jammy-base
{{< /code/copyable >}}

See [samples](https://github.com/paketo-buildpacks/samples/tree/main/web-servers)
Expand Down
6 changes: 0 additions & 6 deletions content/docs/reference/builders-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,6 @@ Paketo Builders How To [documentation][howto/builders].
## Available Paketo Builders
| Name | Stack | Use cases | DockerHub Distribution | Github Repository |
|----------------------------|-----------------------|----------------------------------------------------------------------------------------------|-----------------------------------------------|-----------------------------------------------------------------|
| Full Builder | Ubuntu 18.04 | PHP, Java, Node.js, Go, Python, .NET Core, Ruby, NGINX, and HTTPD buildpacks and common C libraries. | `paketobuildpacks/builder:full` | https://github.com/paketo-buildpacks/full-builder |
| Buildpackless Full Builder | Ubuntu 18.04 | No buildpacks included. Compatible with the same buildpacks as the Full Builder. | `paketobuildpacks/builder:buildpackless-full` | https://github.com/paketo-buildpacks/buildpackless-full-builder |
| Base Builder | Ubuntu 18.04 | Java, Node.js, Go, Python, .NET Core, Ruby, and NGINX buildpacks without common C libraries. | `paketobuildpacks/builder:base` | https://github.com/paketo-buildpacks/base-builder |
| Buildpackless Base Builder | Ubuntu 18.04 | No buildpacks included. Compatible with the same buildpacks as the Base Builder. | `paketobuildpacks/builder:buildpackless-base` | https://github.com/paketo-buildpacks/buildpackless-base-builder |
| Tiny Builder | Ubuntu 18.04, scratch | Consists of buildpacks to build most Go and Java GraalVM Native Image apps. | `paketobuildpacks/builder:tiny` | https://github.com/paketo-buildpacks/tiny-builder |
| Buildpackless Tiny Builder | Ubuntu 18.04, scratch | No buildpacks included. Compatible with the same buildpacks as the Tiny Builder. | `paketobuildpacks/builder:buildpackless-tiny` | https://github.com/paketo-buildpacks/buildpackless-tiny-builder |
| Jammy Full Builder | Ubuntu 22.04 | PHP, Java, Node.js, Go, Python, .NET Core, Ruby, NGINX, and HTTPD buildpacks and common C libraries. | `paketobuildpacks/builder-jammy-full` | https://github.com/paketo-buildpacks/builder-jammy-full |
| Buildpackless Jammy Full Builder | Ubuntu 22.04 | No buildpacks included. Compatible with the same buildpacks as the Jammy Full Builder. | `paketobuildpacks/builder-jammy-buildpackless-full` | https://github.com/paketo-buildpacks/builder-jammy-buildpackless-full |
| Jammy Base Builder | Ubuntu 22.04 | Java, Node.js, Go, Python, .NET Core, Ruby, and NGINX buildpacks without common C libraries. | `paketobuildpacks/builder-jammy-base` | https://github.com/paketo-buildpacks/builder-jammy-base |
Expand Down
2 changes: 1 addition & 1 deletion content/getting-started-languages/dotnet_core.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ git clone https://github.com/paketo-buildpacks/samples \
From the sample app directory, use the pack CLI to build an app image.

{{< code/copyable >}}
pack build paketo-demo-app --builder paketobuildpacks/builder:base
pack build paketo-demo-app --builder paketobuildpacks/builder-jammy-base
{{< /code/copyable >}}

<!-- spellchecker-disable -->
Expand Down
2 changes: 1 addition & 1 deletion content/getting-started-languages/java.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ git clone https://github.com/paketo-buildpacks/samples \
From the sample app directory, use the pack CLI to build an app image.

{{< code/copyable >}}
pack build paketo-demo-app --builder paketobuildpacks/builder:base
pack build paketo-demo-app --builder paketobuildpacks/builder-jammy-base
{{< /code/copyable >}}

{{< code/output >}}
Expand Down
2 changes: 1 addition & 1 deletion content/getting-started-languages/nodejs.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ git clone https://github.com/paketo-buildpacks/samples \
From the sample app directory, use the pack CLI to build an app image.

{{< code/copyable >}}
pack build paketo-demo-app --builder paketobuildpacks/builder:base
pack build paketo-demo-app --builder paketobuildpacks/builder-jammy-base
{{< /code/copyable >}}

{{< code/output >}}
Expand Down
2 changes: 1 addition & 1 deletion content/getting-started-languages/python.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ git clone https://github.com/paketo-buildpacks/samples \
From the sample app directory, use the pack CLI to build an app image.

{{< code/copyable >}}
pack build paketo-demo-app --builder paketobuildpacks/builder:base
pack build paketo-demo-app --builder paketobuildpacks/builder-jammy-base
{{< /code/copyable >}}

<!-- spellchecker-disable -->
Expand Down

0 comments on commit fb0c221

Please sign in to comment.