diff --git a/build.sh b/build.sh new file mode 100755 index 0000000000000000000000000000000000000000..73364f7380a8fc8d130f175a93484d592b87ef0e --- /dev/null +++ b/build.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +mvn -Pnative spring-boot:build-image diff --git a/pom.xml b/pom.xml index a507c5ff225b752243aaf9c7fd049062b9f350be..537681d180e9acad6d0d8c8b9b747b6ae642207f 100644 --- a/pom.xml +++ b/pom.xml @@ -9,9 +9,9 @@ <relativePath/> <!-- lookup parent from repository --> </parent> <groupId>de.ozgcloud</groupId> - <artifactId>operator</artifactId> + <artifactId>ozg-operator</artifactId> <version>0.0.1-SNAPSHOT</version> - <name>ozg-operator</name> + <name>OZG Cloud Operator</name> <description>OZG Cloud Operator</description> <properties> <java.version>17</java.version> @@ -35,6 +35,10 @@ <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> </plugin> + <plugin> + <groupId>org.graalvm.buildtools</groupId> + <artifactId>native-maven-plugin</artifactId> + </plugin> </plugins> </build> diff --git a/run-local.sh b/run-local.sh new file mode 100755 index 0000000000000000000000000000000000000000..3d116dd5944b99a4b104cff44216e3f56f206947 --- /dev/null +++ b/run-local.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +docker run --rm -p 8080:8080 docker.io/library/operator:0.0.1-SNAPSHOT