docker build --build-arg code example
Example 1: docker build
docker build -t [tag] .
Example 2: docker ARG
$ docker build --build-arg some_variable_name=a_value
Example 3: docker build supress build output
docker image build -t [name] . -q
docker build -t [tag] .
$ docker build --build-arg some_variable_name=a_value
docker image build -t [name] . -q