Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ docker push <app-root-fs-image-tag>

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.

Expand Down
2 changes: 1 addition & 1 deletion rootfs-app.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
5 changes: 3 additions & 2 deletions rootfs-builder.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down