Skip to content

Commit ae855a5

Browse files
committed
Add documentation
1 parent dc2bb99 commit ae855a5

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,13 @@ At present this consists of two images:
66

77
* jbs-ubi7-builder
88
* jbs-ubi8-builder
9+
10+
## Updating Images
11+
12+
In order to update the Dockerfiles in jbs-ubi7-builder / jbs-ubi8-builder do *not* update them directly but modify the `Dockerfile.template` and then run `generate.sh`.
13+
14+
To update versions (e.g. for Maven/Gradle/Ant) add or modify the versions in `image-config.yaml` and then add the appropriate version/SHA256 to `generate.sh`. For Ant, the versions are also referenced with the main jvm-build-service repository.
15+
16+
Once the image has been successfully updated and the PR merged then this should then be updated in the main jvm-build-service repository by modifying:
17+
* deploy/operator/config/kustomization.yaml
18+
* deploy/operator/config/system-config.yaml

image-config.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@ kind: SystemConfig
33
metadata:
44
name: cluster
55
spec:
6-
#This is used to drive the builder image build
7-
#Versions places here for gradle will be used generate the relevant dockerfiles
8-
#after you run generate.sh
96
builders:
107
ubi7:
118
tag: jdk:7,maven:3.8.8;3.9.5,ant:1.9.16

0 commit comments

Comments
 (0)