snowdrop / java-buildpack-client

A simple buildpack (https://buildpacks.io/) platform implementation as a library for java..
Apache License 2.0
13 stars 7 forks source link

Wrong method called within the quarkus sample #53

Closed cmoulliard closed 3 weeks ago

cmoulliard commented 9 months ago

Issue

The quarkus sample dont use the proper method

public class App {
    public static void main(String... args) {
        Buildpack.builder()
                .addNewFileContent(new File("."))
                .withBuildImage(":latest")

Method should be changed to: withBuilderImage

public class App {
    public static void main(String... args) {
        Buildpack.builder()
                .addNewFileContent(new File("."))
                .withBuilderImage(":latest") // HERE HERE

@BarDweller

BarDweller commented 3 weeks ago

Fixed with #59