Skip to content
This repository has been archived by the owner on Oct 3, 2024. It is now read-only.

Commit

Permalink
Switch to Java and Tiny
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonydahanne committed Jul 27, 2024
1 parent ebee1e6 commit 60c1ea9
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 17 deletions.
20 changes: 9 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,21 @@
# Paketo Noble Buildpackless Base Builder
# Paketo Noble Java Tiny Builder

## `paketobuildpacks/builder-noble-buildpackless-base:latest`
## `paketobuildpacks/builder-noble-java-tiny:latest`

This builder uses the [Paketo Noble Base
Stack](https://github.com/paketo-buildpacks/noble-base-stack) (an Ubuntu Noble
base image) and contains **no buildpacks nor order groups**. To use this
builder, you must specify buildpacks at build time using whatever mechanisms
your CNB platform of choice offers.
This builder uses the [Paketo Noble Tiny
Stack](https://github.com/paketo-buildpacks/noble-tiny-stack) (an Ubuntu Noble
tiny image) and contains **only Java composite buildpacks**. To use this
builder, you can rely on the default order group.

For example, with the `pack` CLI, use `--buildpack` as follows:
```bash
pack build dotnet-with-buildpackless-builder \
--buildpack gcr.io/paketo-buildpacks/dotnet-core \
--builder paketobuildpacks/builder-noble-buildpackless-base:latest
pack build great-java-app \
--builder paketobuildpacks/builder-noble-java-tiny:latest
```

To see which versions of build and run images and the lifecycle are contained
within a given builder version, see the
[Releases](https://github.com/paketo-buildpacks/builder-noble-buildpackless-base/releases)
[Releases](https://github.com/paketo-buildpacks/builder-noble-java-tiny/releases)
on this repo. This information is also available in the `builder.toml`.

For more information about this builder and how to use it, visit the [Paketo
Expand Down
28 changes: 24 additions & 4 deletions builder.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,30 @@
description = "Ubuntu 24.04 Noble Numbat base image with no buildpacks included. To use, specify buildpacks at build time."
description = "Ubuntu 24.04 Noble Numbat tiny image with only Java buildpacks included. To use, specify buildpacks at build time."

[[buildpacks]]
uri = "docker://gcr.io/paketo-buildpacks/java-native-image:9.8.0"
version = "9.8.0"

[[buildpacks]]
uri = "docker://gcr.io/paketo-buildpacks/java:15.2.0"
version = "15.2.0"

[lifecycle]
version = "0.20.0"

[[order]]

[[order.group]]
id = "paketo-buildpacks/java-native-image"
version = "9.8.0"

[[order]]

[[order.group]]
id = "paketo-buildpacks/java"
version = "15.2.0"

[stack]
build-image = "docker.io/paketobuildpacks/build-noble-base:0.0.3"
id = "io.buildpacks.stacks.noble"
run-image = "index.docker.io/paketobuildpacks/run-noble-base:latest"
build-image = "docker.io/paketobuildpacks/build-noble-tiny:0.0.5"
id = "io.buildpacks.stacks.noble.tiny"
run-image = "index.docker.io/paketobuildpacks/run-noble-tiny:latest"
run-image-mirrors = []
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/paketo-buildpacks/builder-noble-buildpackless-base
module github.com/paketo-buildpacks/builder-noble-java-tiny

go 1.22.5

Expand Down
2 changes: 1 addition & 1 deletion smoke/init_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func TestSmoke(t *testing.T) {

Expect(occam.NewDocker().Pull.Execute(config.Procfile))

suite := spec.New("Buildpackless Smoke", spec.Parallel(), spec.Report(report.Terminal{}))
suite := spec.New("Buildpack Smoke", spec.Parallel(), spec.Report(report.Terminal{}))
suite("Procfile", testProcfile)
suite.Run(t)
}

0 comments on commit 60c1ea9

Please sign in to comment.