Always use up-to-date and supported container images in Dockerfiles and configuration files. Before specifying a base image or version: 1. Verify the image hasn't been deprecated
Always use up-to-date and supported container images in Dockerfiles and configuration files. Before specifying a base image or version:
For example, instead of:
FROM cosdt/cann:${ASCEND_VERSION} AS ascend-build-arm64
Use the recommended current alternative:
FROM ascendai/cann:${ASCEND_VERSION} AS ascend-build-arm64
Similarly, when updating dependency versions like ROCm, verify availability and compatibility with your base OS image:
# Check if this version exists with your base image before specifying
ARG ROCM_VERSION=6.3.2
When the desired version isn’t available with your current base image, consider updating the base image itself (e.g., moving from centos-7 to almalinux-8 for newer ROCm versions).
Enter the URL of a public GitHub repository