As of Docker 1.9, You are looking for --build-arg and the ARG instruction.
Check out this document for reference. This will allow you to add ARG arg to the Dockerfile and then build with
docker build --build-arg arg=2.3 .
As of Docker 1.9, You are looking for --build-arg and the ARG instruction.
Check out this document for reference. This will allow you to add ARG arg to the Dockerfile and then build with
docker build --build-arg arg=2.3 .