From 8607fe8816bb34d97be99168b6d1634220b8bd1d Mon Sep 17 00:00:00 2001 From: Ozzy Osborne Date: Mon, 15 Apr 2024 13:39:47 -0400 Subject: [PATCH] Update samples --- samples/{hello-quarkus-jbang => hello-quarkus}/pack.java | 0 samples/hello-quarkus/pom.xml | 5 ++++- samples/hello-spring/pack.java | 3 ++- 3 files changed, 6 insertions(+), 2 deletions(-) rename samples/{hello-quarkus-jbang => hello-quarkus}/pack.java (100%) diff --git a/samples/hello-quarkus-jbang/pack.java b/samples/hello-quarkus/pack.java similarity index 100% rename from samples/hello-quarkus-jbang/pack.java rename to samples/hello-quarkus/pack.java diff --git a/samples/hello-quarkus/pom.xml b/samples/hello-quarkus/pom.xml index aea752a..1d8e104 100755 --- a/samples/hello-quarkus/pom.xml +++ b/samples/hello-quarkus/pom.xml @@ -92,8 +92,11 @@ exec - id-debug.sh + /bin/sh ${basedir} + + ${basedir}/id-debug.sh + diff --git a/samples/hello-spring/pack.java b/samples/hello-spring/pack.java index 67f1760..0962062 100755 --- a/samples/hello-spring/pack.java +++ b/samples/hello-spring/pack.java @@ -9,7 +9,8 @@ public class pack { public static void main(String... args) { int exitCode = BuildConfig.builder() - .withOutputImage(new ImageReference("snowdrop/hello-quarkus:latest")) + .withBuilderImage(new ImageReference("paketocommunity/builder-ubi-base")) + .withOutputImage(new ImageReference("snowdrop/hello-spring:latest")) .addNewFileContentApplication(new File(".")) .build() .getExitCode();