I’d like to programmatically determine whether my containers are running on a development or production build of BalenaOS.
Specifically, because I use a mouse during development and a touchscreen in production and I’d like to enable the cursor in development so I can see the mouse.
A quick printenv | grep dev shows it’s nowhere in the environment variables. I’m assuming there’s a reason for this? Is there a different way I should be doing this?
Bumping this old topic, but I saw that the issue is still open.
Is there still no way of knowing this inside a container? It’d be nice to know this so I can add/change some things in my software based on this variable.