Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

I was following the tutorial on How to Use Environment Variables in App Platform, and I am unable to figure out how to use these convenience variables in my Dockerfile.
I am specifically trying to print the COMMIT_HASH to a file in the container of my web component.
ARG web.COMMIT_HASH=unspecified
RUN echo ${web.COMMIT_HASH} > /www/commithash.txt
I’ve also tried pulling it in using ENV but that fails during build.
ENV GITHASH=${web\.COMMIT_HASH:-unspecified}
RUN echo ${GITHASH} > /www/githash.txt
It errors out at the . dot.
So is there a way to get these convenience environment variables into my Dockerfile?
Any help is greatly appreciated.
lwmeozrcbh
d1dd3d9538cc4d06b53e6d1d338d3f
50ff4e4b3c6c4999a12403b1ecda95
a6309a057c3f4cb38fb2e7feb67236
72e571841e7f4a6881090a2f3e93c0
7ce6bf277bff4d429ba493dd750e35
57a72a98162f46a5a5cd04d9b
Thomas Brocken
11575c6d695643cdb40ad47d0f1aea
tez.saad