Hi Jeremiah,
I was musing about whether and how environment variables get passed along across various boundaries (container, ssh).
Indeed. If anything, this is what you may encounter problems with, particularly as containers are designed to be, well, not influenced by their outside environment...
Obvious workarounds (if you need them) that I end up using all the time here are shell "tricks" like explicitly exporting stuff with env(1):
- start-container build-script.sh + start-container env SOURCE_DATE_EPOCH="${SOURCE_DATE_EPOCH}" build-script.sh
... and throwing a whole bunch of "echo SDE=$SOURCE_DATE_EPOCH" around is probably the best way to find which barrier is not being crossed.
Best wishes,