WASdev/ci.docker

Bring parity between image repositories

Closed this issue · 4 comments

Bring parity between what we have in Docker Hub and IBM Cloud for WebSphere Liberty.

Docker Hub has images based on AdoptOpenJDK 8 and 11 with OpenJ9 as well as IBM Java 8 :

20.0.0.12-kernel-java8-openj9-ubi
20.0.0.12-kernel-java8-ibmjava-ubi
20.0.0.12-kernel-java11-openj9-ubi

20.0.0.12-full-java8-openj9-ubi
20.0.0.12-full-java8-ibmjava-ubi
20.0.0.12-full-java11-openj9-ubi

IBM Cloud only has images based on IBM Java 8 :

liberty:20.0.0.12-wl-full
liberty:20.0.0.12-wl-full

liberty:20.0.0.12-wl-kernel
liberty:20.0.0.12-wl-kernel

This internal repo has the scripts to retrieve the images from Docker Hub, tag them differently and then push to IBM Cloud Container Registry.

@yongja79 Thank you for the PR. In addition to UBI images, confirmed that we would also need to push the Ubuntu images of Open Liberty (OL) and WebSphere Liberty (WL) to IBM Cloud Container Registry (ICCR). In Docker Hub, UBI images were added after Ubuntu, hence they were tagged with UBI. But it'll be the other way around for ICCR. So please add the suffix -ubuntu for the Ubuntu images and exclude -ubi for the UBI based images. OL has Ubuntu images only based on OpenJ9 while WL has IBM Java and OpenJ9.

Documentation for Liberty in ICCR needs to be updated once the new images are pushed. The source for it is here. I've never done this before, so please contact/work with the ID person who last updated that doc. Thanks.

Thank you @yongja79! The Travis build completed and I see the new images are listed in IBM Cloud Container Registry. Please update the documentation when you get a chance. Thanks.

Delivered. Closing.