From 00a0bc7c8c014e6ab08eb2ea1422cb2f2aa87f85 Mon Sep 17 00:00:00 2001 From: Dmitrii Zolotukhin Date: Thu, 5 Feb 2026 16:38:49 +0100 Subject: [PATCH 1/3] DES-7308 Updated to CF Buildpack v5.0.30. --- README.md | 2 +- rootfs-builder.dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 278dcdd4..60643bb4 100644 --- a/README.md +++ b/README.md @@ -89,7 +89,7 @@ docker push When building the the `rootfs-builder.dockerfile` file, you can provide the following additional arguments: -- **CF_BUILDPACK** is a version of CloudFoundry buildpack. Defaults to `v5.0.26`. For stable pipelines, it's recommended to use a fixed **v5.0.26** version. Other Cloud Foundry buildpacks might not work with this version of Docker Buildpack. +- **CF_BUILDPACK** is a version of CloudFoundry buildpack. Defaults to `v5.0.30`. For stable pipelines, it's recommended to use a fixed **v5.0.30** version. Other Cloud Foundry buildpacks might not work with this version of Docker Buildpack. - **CF_BUILDPACK_URL** specifies the URL where the CF buildpack should be downloaded from (for example, a local mirror). Defaults to `https://github.com/mendix/cf-mendix-buildpack/releases/download/${CF_BUILDPACK}/cf-mendix-buildpack.zip`. Specifying **CF_BUILDPACK_URL** will override the version from **CF_BUILDPACK**. - **BUILDPACK_XTRACE** can be used to enable CF Buildpack [debug logging](https://github.com/mendix/cf-mendix-buildpack#logging-and-debugging). Set this variable to `true` to enable debug logging. diff --git a/rootfs-builder.dockerfile b/rootfs-builder.dockerfile index 6d601491..c3739c40 100644 --- a/rootfs-builder.dockerfile +++ b/rootfs-builder.dockerfile @@ -10,7 +10,7 @@ ENV LANG C.UTF-8 ENV LC_ALL C.UTF-8 # CF buildpack version -ARG CF_BUILDPACK=v5.0.26 +ARG CF_BUILDPACK=v5.0.30 # CF buildpack download URL ARG CF_BUILDPACK_URL=https://github.com/mendix/cf-mendix-buildpack/releases/download/${CF_BUILDPACK}/cf-mendix-buildpack.zip From 6e18b4da67b3ff890c31bef60a837e1f4cec3c9f Mon Sep 17 00:00:00 2001 From: Dmitrii Zolotukhin Date: Thu, 5 Feb 2026 16:43:53 +0100 Subject: [PATCH 2/3] Upgraded to latest available NGINX module. --- rootfs-app.dockerfile | 2 +- rootfs-builder.dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rootfs-app.dockerfile b/rootfs-app.dockerfile index 24215472..a2ba84f2 100644 --- a/rootfs-app.dockerfile +++ b/rootfs-app.dockerfile @@ -11,7 +11,7 @@ ENV LC_ALL C.UTF-8 # install dependencies & remove package lists RUN microdnf update -y && \ - microdnf module enable nginx:1.24 -y && \ + microdnf module enable nginx:1.26 -y && \ microdnf install -y glibc-langpack-en python311 openssl nginx nginx-mod-stream java-11-openjdk-headless java-17-openjdk-headless java-21-openjdk-headless tzdata-java fontconfig binutils && \ microdnf clean all && rm -rf /var/cache/yum diff --git a/rootfs-builder.dockerfile b/rootfs-builder.dockerfile index c3739c40..1703ffd7 100644 --- a/rootfs-builder.dockerfile +++ b/rootfs-builder.dockerfile @@ -19,7 +19,7 @@ ARG BUILDPACK_XTRACE # install dependencies & remove package lists RUN microdnf update -y && \ - microdnf module enable nginx:1.24 -y && \ + microdnf module enable nginx:1.26 -y && \ microdnf install -y wget glibc-langpack-en python311 openssl tar gzip unzip libpq nginx nginx-mod-stream binutils fontconfig findutils java-11-openjdk-headless java-17-openjdk-headless java-21-openjdk-headless && \ microdnf remove -y /usr/bin/python && \ microdnf clean all && rm -rf /var/cache/yum From ddc4fa977807ae0715593135e99e0b4ce567469f Mon Sep 17 00:00:00 2001 From: Dmitrii Zolotukhin Date: Thu, 5 Feb 2026 17:30:40 +0100 Subject: [PATCH 3/3] Ensure that pip3.11 can be discovered by CF Buildpack. --- rootfs-builder.dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/rootfs-builder.dockerfile b/rootfs-builder.dockerfile index 1703ffd7..a871a536 100644 --- a/rootfs-builder.dockerfile +++ b/rootfs-builder.dockerfile @@ -68,6 +68,7 @@ RUN PYTHON_BUILD_RPMS="python3.11-pip python3.11-devel libffi-devel gcc" && \ microdnf install -y $PYTHON_BUILD_RPMS && \ mkdir -p /home/vcap/.local/bin/ && \ if [ ! -f /home/vcap/.local/bin/pip ] ; then ln -s /usr/bin/pip3.11 /home/vcap/.local/bin/pip ; fi && \ + if ! command -v pip3 ; then ln -s /usr/bin/pip3.11 /usr/bin/pip3 ; fi && \ rm /opt/mendix/buildpack/vendor/wheels/* && \ chmod +rx /opt/mendix/buildpack/bin/bootstrap-python && /opt/mendix/buildpack/bin/bootstrap-python /opt/mendix/buildpack /tmp/buildcache && \ microdnf remove -y $PYTHON_BUILD_RPMS && microdnf clean all && rm -rf /var/cache/yum