Skip to content
Snippets Groups Projects
Commit 2b3377db authored by Sören Henning's avatar Sören Henning
Browse files

Add Kaniko build instructions

parent 4c6adbad
Branches
Tags
1 merge request!229Upgrade Quarkus version to 2.6
Pipeline #6163 passed
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment