Fail to build docker image for mendix application ( Exception: Only Ubuntu is supported at present, requested distribution: rhel)

0
Hi. I'm following the instruction to build docker image for my app using docker-mendix-buildpack-latest.   After executing  docker build -t mendix-rootfs:app -f rootfs-app.dockerfile . docker build -t mendix-rootfs:builder -f rootfs-builder.dockerfile . I can see both images in my docker desktop->images list. But when I try to build application itself executing docker build --build-arg BUILD_PATH="TestApp01" -t testapp01 . it fails with the following issue: Am I doing smth wrong?
asked
2 answers
0

On this page  https://github.com/mendix/docker-mendix-buildpack you can read what to change for ubuntu. 

 

One example

ROOTFS_IMAGE is a type of rootfs image. Defaults to mendix/rootfs:ubi8 (Red Hat Universal Base Image 8). To use Ubuntu 18.04, change this to mendix/rootfs:bionic. It's also possible to use a custom rootfs image as described in Advanced feature: full-build.

answered
0

Hello

 

You can try the procedure described at:

Update: Containerize Mendix Applications | by Vinicius Strugata Ambrosio | Medium

answered