Skip to content

Commit a0a3fd1

Browse files
authored
Output message to use Liberty images from icr.io/appcafe (#661)
* Add deprecation notice * Update deprecation notice for latest images
1 parent 8b2b9b1 commit a0a3fd1

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

  • ga/latest/kernel/helpers/build/internal

ga/latest/kernel/helpers/build/internal/logger.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,10 @@ function showLogs() {
2727
exec 1>&3 3>&- 2>&4 4>&-
2828
}
2929

30+
function logDeprecationNotice() {
31+
echo "Deprecation notice: IBM expects the last version of the UBI-based WebSphere Liberty container image in Docker Hub ('ibmcom/websphere-liberty') to be 25.0.0.3. To continue to receive updates and security fixes after 25.0.0.3, you must switch to using the images from the IBM Container Registry (ICR). To switch, simply update 'FROM ibmcom/websphere-liberty' in your Dockerfiles to 'FROM icr.io/appcafe/websphere-liberty'. The same image tags from Docker Hub are also available in ICR. Ubuntu-based Liberty container images will continue to be available from Docker Hub. For more information, see https://ibm.biz/wl-ubi-containers-dh-deprecation"
32+
}
33+
34+
logDeprecationNotice
35+
3036
main

0 commit comments

Comments
 (0)