Pass arguments to docker build, but NOT via cli

Is it possible to pass docker build build-arg arguments not as CLI parameters, but as environment variables for example? I need to pass some sensitive information inside the build container, and if I do it using –build-arg it is getting exposed to other users of the system. Is there a way to pass it in… Read More Pass arguments to docker build, but NOT via cli