Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
theodolite
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sören Henning
theodolite
Commits
2b3377db
Commit
2b3377db
authored
3 years ago
by
Sören Henning
Browse files
Options
Downloads
Patches
Plain Diff
Add Kaniko build instructions
parent
4c6adbad
No related branches found
No related tags found
1 merge request
!229
Upgrade Quarkus version to 2.6
Pipeline
#6163
passed
3 years ago
Stage: build
Stage: test
Stage: check
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
theodolite/README.md
+9
-3
9 additions, 3 deletions
theodolite/README.md
with
9 additions
and
3 deletions
theodolite/README.md
+
9
−
3
View file @
2b3377db
...
@@ -55,15 +55,21 @@ You can then execute your native executable with:
...
@@ -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.
If you want to learn more about building native executables, please consult https://quarkus.io/guides/gradle-tooling.
## Building
dock
er images
## Building
contain
er images
For the
jvm
version use:
For the
JVM
version use:
```
sh
```
sh
./gradlew build
./gradlew build
docker build -f src/main/docker/Dockerfile.jvm -t theodolite-jvm .
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:
For the native image version use:
```
sh
```
sh
...
@@ -71,7 +77,7 @@ For the native image version use:
...
@@ -71,7 +77,7 @@ For the native image version use:
docker build -f src/main/docker/Dockerfile.native -t theodolite-native .
docker build -f src/main/docker/Dockerfile.native -t theodolite-native .
```
```
##
Execute docker images
##
Run a container
Remember to set the environment variables first.
Remember to set the environment variables first.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment