Turris Omnia full size rootfs using Podman / Docker

This is a reminder for myself, but it may also help someone else.

At Docker Hub search by openwrt/imagebuilder only one result should appear, enter, go to the Tags tab and filter by mvebu-cortexa9-23.05.0 (replace 23.05.0 with the version you want). On the right side you can copy the command to create the container with Docker.

Now create a container from the terminal or with the application of your choice and access it (I am using Podman Desktop).

Inside the container terminal write:

make image \
PROFILE="cznic_turris-omnia" \
PACKAGES="luci" \

In less than 5 minutes it will be finished.

The resulting image with the firmware will be in bin/targets/mvebu/cortexa9/openwrt-23.05.0-mvebu-cortexa9-cznic_turris-omnia-sysupgrade.img.gz. And on the host, if you are using unprivileged Podman containers, it will be in .local/share/containers/storage/volumes/VOLUME_NAME/_data/bin/targets/mvebu/cortexa9/openwrt-23.05.0-mvebu-cortexa9-cznic_turris-omnia-sysupgrade.img.gz.

The firmware image will be identical to the one generated using Firmware Selector but with a full size rootfs.

PS: Other alternative is extend the partition Mochabin-5G Expand OpenWrt Partition - #5 by Matthias17