Skip to content

Commit

Permalink
fix(paketo): Upgrade default CNB builders to Paketo Jammy (#119)
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkAtra authored Nov 24, 2023
1 parent a3453ea commit a8002b8
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 22 deletions.
40 changes: 20 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Find the latest docker image [here](https://github.com/idealo/spring-endpoint-ex
```yaml
services:
spring-endpoint-exporter:
image: ghcr.io/idealo/spring-endpoint-exporter:1.0.4
image: ghcr.io/idealo/spring-endpoint-exporter:1.0.10
mem_reservation: 256M
mem_limit: 512M
volumes:
Expand Down Expand Up @@ -57,13 +57,13 @@ You can pass properties to the application using environment variables or comman

```
export EXPORTER_INPUT_PATH=/data/app.jar
java -jar ./spring-endpoint-exporter-1.0.4.jar
java -jar ./spring-endpoint-exporter-1.0.10.jar
```

or

```
java -jar ./spring-endpoint-exporter-1.0.4.jar --exporter.input-path="/data/app.jar" --exporter.include-filters="de.idealo.*"
java -jar ./spring-endpoint-exporter-1.0.10.jar --exporter.input-path="/data/app.jar" --exporter.include-filters="de.idealo.*"
```
## Building from source
Expand All @@ -79,7 +79,7 @@ Simply run the following command:
You can now run the application using:
```
java -jar ./target/spring-endpoint-exporter-1.0.4.jar
java -jar ./target/spring-endpoint-exporter-1.0.10.jar
```
### Docker Image
Expand All @@ -90,7 +90,7 @@ Make sure your docker daemon is running and run the following command:
./mvnw clean spring-boot:build-image
```
The resulting image is named `ghcr.io/idealo/spring-endpoint-exporter:1.0.4`.
The resulting image is named `ghcr.io/idealo/spring-endpoint-exporter:1.0.10`.
### Native Docker Image (Beta)
Expand All @@ -100,7 +100,7 @@ Make sure your docker daemon is running and run the following command:
./mvnw -Pnative clean spring-boot:build-image
```
The resulting native image is named `ghcr.io/idealo/spring-endpoint-exporter:1.0.4-native`.
The resulting native image is named `ghcr.io/idealo/spring-endpoint-exporter:1.0.10-native`.
## Known limitations
Expand All @@ -114,26 +114,26 @@ Since this tool only accesses information from the bytecode, and thus does not l
@RequestMapping(method = RequestMethod.GET)
public @interface CustomRequestMapping {
@AliasFor(annotation = RequestMapping.class)
String name() default "";
@AliasFor(annotation = RequestMapping.class)
String name() default "";
@AliasFor(annotation = RequestMapping.class)
String[] value() default {};
@AliasFor(annotation = RequestMapping.class)
String[] value() default {};
@AliasFor(annotation = RequestMapping.class)
String[] path() default {};
@AliasFor(annotation = RequestMapping.class)
String[] path() default {};
@AliasFor(annotation = RequestMapping.class)
String[] params() default {};
@AliasFor(annotation = RequestMapping.class)
String[] params() default {};
@AliasFor(annotation = RequestMapping.class)
String[] headers() default {};
@AliasFor(annotation = RequestMapping.class)
String[] headers() default {};
@AliasFor(annotation = RequestMapping.class)
String[] consumes() default {};
@AliasFor(annotation = RequestMapping.class)
String[] consumes() default {};
@AliasFor(annotation = RequestMapping.class)
String[] produces() default {};
@AliasFor(annotation = RequestMapping.class)
String[] produces() default {};
}
```

Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<groupId>de.idealo.security</groupId>
<artifactId>spring-endpoint-exporter</artifactId>
<version>1.0.9</version>
<version>1.0.10</version>

<licenses>
<license>
Expand Down Expand Up @@ -125,7 +125,7 @@
<configuration>
<image>
<name>${image.name}</name>
<builder>paketobuildpacks/builder:tiny</builder>
<builder>paketobuildpacks/builder-jammy-tiny:latest</builder>
<env>
<BP_OCI_SOURCE>${project.scm.url}</BP_OCI_SOURCE>
</env>
Expand Down

0 comments on commit a8002b8

Please sign in to comment.