Hi all, I’m quite new to the ublue way and want to do things in best practice way. I need AWS cli tools with the session manager plugin (a service) running on aurora dx to be able to connect to dev containers running on ec2 and to build ssh port forwards to connect to databases from DB beaver flatpak. I created my own repo for extending the dx image but run in problems. The normal AWS cli tools I can install via zip in /usr/lib but the session manager is only available as rpm and wants to install in /usr/local/… This is not available at build time of the image. I could create that folder during image build but this would I guess impact the runtime behavior of the image. Because in a running normal aurora-dx it is a link to /var/usrLocal which has a lot of folders in it and I guess they would be broken afterwards?
I want to provide the image ready to use for my team so toolbox may not work.
Something that has worked for me, but may not work for you as it was azure-cli on bluefin-dx rather than aws on aurora-dx and a much smaller team, was making a distrobox.ini, pinning the version in that so it always installs from the same image, writing post-install bash scripts so that always the same steps would be taking, and putting the distrobox.ini and post-install scripts in a git repository and providing that to the rest of the team (one other coworker).
If you do end up going toolbox, I would recommend a declarative approach and have gotten that to work.
That said unfortunately that’s where my experience ends (have never written a custom image) so other than that I can only wish you the best of luck.
I still hope that there is solution to somehow build it in the Image.
Where are the DEVs .
In the meantime I create a custom just script to install to ~/.local. Would be ok if I find a way to execute this scripts on first desktop login of the user…