Hi, I just wanted to understand the docker build p...
# getting-started
f
Hi, I just wanted to understand the docker build process a bit better. In particular, I noticed in a few Dockerfiles, a reference is made to an environment variable
BUILDPLATFORM
. For instance, here in the
datahub-gms
Dockerfile: https://github.com/datahub-project/datahub/blob/master/docker/datahub-gms/Dockerfile#L27 I am not sure where
BUILDPLATFORM
is being set initially, can anyone point me to the place where it is being set?
d
BUILDPLATFORM
is part of a set of automatically defined (global scope) build arguments that you can use. It will always match the platform or your current system and the builder will fill in the correct value for us.
f
Ah my bad, thanks a lot for this.
d
np, I’m happy I could help