diff --git a/theodolite/README.md b/theodolite/README.md index eb50d4214036baf903239234b8d4c64bab568ebf..f662329f7eda3a39632581b7125a2f2f2feced8a 100644 --- a/theodolite/README.md +++ b/theodolite/README.md @@ -55,15 +55,21 @@ You can then execute your native executable with: If you want to learn more about building native executables, please consult https://quarkus.io/guides/gradle-tooling. -## Building docker images +## Building container images -For the jvm version use: +For the JVM version use: ```sh ./gradlew build docker build -f src/main/docker/Dockerfile.jvm -t theodolite-jvm . ``` +Alternatively, you can also use Kaniko to build the image: + +```sh +docker run -it --rm --name kaniko -v "`pwd`":/theodolite --entrypoint "" gcr.io/kaniko-project/executor:debug /kaniko/executor --context /theodolite --dockerfile src/main/docker/Dockerfile.jvm --no-push +``` + For the native image version use: ```sh @@ -71,7 +77,7 @@ For the native image version use: docker build -f src/main/docker/Dockerfile.native -t theodolite-native . ``` -## Execute docker images +## Run a container Remember to set the environment variables first.