LXC images for older Ubuntu/Debian releases

Hello,

I have an Ubiquiti access point and want to run Ubiquiti’s UniFi Controller via LXC. It depends on MongoDB. The problem is that the armv7l version of MongoDB is not available under newer Debian or Ubuntu images. If I remember correctly older versions were available in recent months for Ubuntu Xenial or Debian Jessie.

Would be possible to bring those images back?

Its not advised to use older releases since they have no more support. But you could build root filesystem easily with debootstrap for the release you want and then make container or simply replace existing container rootfs.

Some reference:



Its not step by step guide but from the two links you should be able to bootstrap jessie filesystem.

Thanks!

Its not advised to use older releases since they have no more support.

Yeah, I know I shouldn’t be using older releases, but there are no MongoDB 3.X packages for armv7l in newer versions.

But you could build root filesystem easily with debootstrap for the release you want and then make container or simply replace existing container rootfs.

Do you know if there are any customizations being done by turris teams on the images present here https://repo.turris.cz/lxc/images/?

I am not sure but I dont think so. You could ask turris team on IRC channel to be sure.

I am using script from this site https://community.ui.com/questions/UniFi-Installation-Scripts-or-UniFi-Easy-Update-Script-or-UniFi-Lets-Encrypt-or-UniFi-Easy-Encrypt-/ccbc7530-dd61-40a7-82ec-22b17f027776 for Debian 10 on LXC.

apt-get update; apt-get install ca-certificates wget -y
rm unifi-latest.sh &> /dev/null; wget https://get.glennr.nl/unifi/install/install_latest/unifi-latest.sh && bash unifi-latest.sh

Hope this help.