use docker build arg in dockerfile code example Example: docker ARG $ docker build --build-arg some_variable_name=a_value