Access device uuid in dockerfile

Is there a way to access the device uuid in dockerfile?
Considering that I have many devices linked to a resin.io application and when I do push to resin, I want to do the deploy with the same source code, but also I want to copy different files (config files) to different devices.

The files are named after device’s uuid, and each device should work with the files related to that device.
But, in order to achieve this, I need to access the device uuid as a variable inside Dockerfile.

Is there any way how to deal with this case?

1 Like