• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Avoiding Build Failures with Adobe ColdFusion Docker Images: Specifying Module Versions

Community Beginner ,
Jun 12, 2024 Jun 12, 2024

Copy link to clipboard

Copied

Here's the revised text with your example included:

---

If you are using a Docker image of Adobe ColdFusion, such as `adobecoldfusion/coldfusion2021:2021.0.13`, and in the compose file you have set the environment variable `INSTALL_MODULES=ALL`, the Docker container will fail to build.

The issue is related to the latest hotfix update 14, which was released recently. When you specify `INSTALL_MODULES=ALL`, it attempts to install all ColdFusion packages to their latest version if you do not specify any version for the packages. This works fine if you are using the latest build tag of ColdFusion.

On June 12, 2024, ColdFusion 2021 update 14 was released. I was still using the ColdFusion base Docker image `2021.0.13`, where the latest update 14 is not installed. When the container starts and `INSTALL_MODULES=ALL` is set, it tries to install the packages to their latest version. Some packages require the latest update (e.g., update 14) to install the latest version of those packages, causing the build to fail.

**Solution:** Specify the version for the modules to be installed to avoid this issue. For example, use `INSTALL_MODULES=pdf:2021086,document:2021087,...`. If you use the latest tag, it won't cause this issue, but that is not the recommended way to use the Docker image in production environments.

Views

98

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation
Resources
Documentation