Sorry for posting this twice, I deleted my previous post as I wanted to write a better post, instead of just editing it.
My problem is that I need access to device variables at built-time.
I have 4 docker containers being built through a
docker-compose.yml file, but one of the containers needs access to device environment variables upon built time. However, it seems these are not made available to the containers until after they have been built and deployed, is that correct?
If I do a
RUN env in one of the container’s
Dockerfile, I see only a few environment variables from the host os, not all the device variables.
Am I missing something?