@@ -25,7 +25,7 @@ func TestTest(t *testing.T) {
2525}
2626
2727var _ = Describe ("Open Liberty container images" , func () {
28- // Set ENV CONTAINER_HOST and CONTAINER_SSHKEY
28+ // Set CONTAINER_HOST and CONTAINER_SSHKEY environment variables beforehand
2929 Context ("kernel-slim images" , func () {
3030 var imageDir string = "../releases/latest/kernel-slim"
3131 BeforeEach (func () {
@@ -42,7 +42,7 @@ var _ = Describe("Open Liberty container images", func() {
4242 })
4343
4444 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 "
4646 var petClinicImage string = "open-liberty-test:kernel-slim-ubi-petclinic"
4747 var petClinicImageName string = "petclinic"
4848 conn , err := bindings .NewConnectionWithIdentity (context .Background (), "" , "" , true )
@@ -52,7 +52,7 @@ var _ = Describe("Open Liberty container images", func() {
5252 }
5353
5454 // Build a kernel-slim image from scratch
55- containerFiles := []string {imageDir + "/Dockerfile.ubi.openjdk8 " }
55+ containerFiles := []string {imageDir + "/Dockerfile.ubi.openjdk17 " }
5656 // Check the full list of BuildOptions from https://github.com/containers/buildah/blob/aa6a281df7c54aa42a060baa9d0504040c7551a6/define/build.go#L112
5757 buildOptions := entities.BuildOptions {}
5858 buildOptions .ContextDirectory = imageDir
@@ -119,7 +119,7 @@ var _ = Describe("Open Liberty container images", func() {
119119 })
120120
121121 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 "
123123 var petClinicImage string = "open-liberty-test:kernel-slim-ubuntu-petclinic"
124124 var petClinicImageName string = "petclinic"
125125 conn , err := bindings .NewConnectionWithIdentity (context .Background (), "" , "" , true )
@@ -129,7 +129,7 @@ var _ = Describe("Open Liberty container images", func() {
129129 }
130130
131131 // Build a kernel-slim image from scratch
132- containerFiles := []string {imageDir + "/Dockerfile.ubuntu.openjdk8 " }
132+ containerFiles := []string {imageDir + "/Dockerfile.ubuntu.openjdk17 " }
133133 // Check the full list of BuildOptions from https://github.com/containers/buildah/blob/aa6a281df7c54aa42a060baa9d0504040c7551a6/define/build.go#L112
134134 buildOptions := entities.BuildOptions {}
135135 buildOptions .ContextDirectory = imageDir
0 commit comments