@@ -25,7 +25,7 @@ func TestTest(t *testing.T) {
25
25
}
26
26
27
27
var _ = Describe ("Open Liberty container images" , func () {
28
- // Set ENV CONTAINER_HOST and CONTAINER_SSHKEY
28
+ // Set CONTAINER_HOST and CONTAINER_SSHKEY environment variables beforehand
29
29
Context ("kernel-slim images" , func () {
30
30
var imageDir string = "../releases/latest/kernel-slim"
31
31
BeforeEach (func () {
@@ -42,7 +42,7 @@ var _ = Describe("Open Liberty container images", func() {
42
42
})
43
43
44
44
It ("can build an UBI image and run spring-petclinic" , func () {
45
- var baseImage string = "open-liberty-test:kernel-slim-ubi-openjdk8 "
45
+ var baseImage string = "open-liberty-test:kernel-slim-ubi-openjdk17 "
46
46
var petClinicImage string = "open-liberty-test:kernel-slim-ubi-petclinic"
47
47
var petClinicImageName string = "petclinic"
48
48
conn , err := bindings .NewConnectionWithIdentity (context .Background (), "" , "" , true )
@@ -52,7 +52,7 @@ var _ = Describe("Open Liberty container images", func() {
52
52
}
53
53
54
54
// Build a kernel-slim image from scratch
55
- containerFiles := []string {imageDir + "/Dockerfile.ubi.openjdk8 " }
55
+ containerFiles := []string {imageDir + "/Dockerfile.ubi.openjdk17 " }
56
56
// Check the full list of BuildOptions from https://github.com/containers/buildah/blob/aa6a281df7c54aa42a060baa9d0504040c7551a6/define/build.go#L112
57
57
buildOptions := entities.BuildOptions {}
58
58
buildOptions .ContextDirectory = imageDir
@@ -119,7 +119,7 @@ var _ = Describe("Open Liberty container images", func() {
119
119
})
120
120
121
121
It ("can build an Ubuntu image and run spring-petclinic" , func () {
122
- var baseImage string = "open-liberty-test:kernel-slim-ubuntu-openjdk8 "
122
+ var baseImage string = "open-liberty-test:kernel-slim-ubuntu-openjdk17 "
123
123
var petClinicImage string = "open-liberty-test:kernel-slim-ubuntu-petclinic"
124
124
var petClinicImageName string = "petclinic"
125
125
conn , err := bindings .NewConnectionWithIdentity (context .Background (), "" , "" , true )
@@ -129,7 +129,7 @@ var _ = Describe("Open Liberty container images", func() {
129
129
}
130
130
131
131
// Build a kernel-slim image from scratch
132
- containerFiles := []string {imageDir + "/Dockerfile.ubuntu.openjdk8 " }
132
+ containerFiles := []string {imageDir + "/Dockerfile.ubuntu.openjdk17 " }
133
133
// Check the full list of BuildOptions from https://github.com/containers/buildah/blob/aa6a281df7c54aa42a060baa9d0504040c7551a6/define/build.go#L112
134
134
buildOptions := entities.BuildOptions {}
135
135
buildOptions .ContextDirectory = imageDir
0 commit comments