Skip to content

Commit

Permalink
✨ init native image support
Browse files Browse the repository at this point in the history
  • Loading branch information
simonhir committed Jul 26, 2024
1 parent fb5c864 commit 975bd24
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 1 deletion.
43 changes: 43 additions & 0 deletions refarch-gateway/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -244,4 +244,47 @@
</plugin>
</plugins>
</build>

<profiles>
<profile>
<id>native</id>
<build>
<plugins>
<plugin>
<groupId>org.graalvm.buildtools</groupId>
<artifactId>native-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<!-- Needed for image build behind proxy -->
<!--<configuration>
<image>
<env>
<HTTP_PROXY></HTTP_PROXY>
<HTTPS_PROXY></HTTPS_PROXY>
<NO_PROXY></NO_PROXY>
</env>
</image>
<docker>
<builderRegistry>
<username></username>
<password></password>
<url>https://index.docker.io/v1/</url>
</builderRegistry>
</docker>
</configuration>-->
<executions>
<execution>
<id>process-aot</id>
<configuration>
<profiles>hazelcast-local</profiles>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
2 changes: 1 addition & 1 deletion refarch-gateway/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ spring:
oauth2:
resourceserver:
jwt:
issuer-uri: ${SSO_ISSUER_URL}
issuer-uri: ${SSO_ISSUER_URL:sso.muenchen.de}
client:
provider:
keycloak:
Expand Down

0 comments on commit 975bd24

Please sign in to comment.