Add argument --build-args in docker

Add --build-args argument in docker CLI. https://docs.docker.com/engine/reference/commandline/build/#set-build-time-variables---build-arg
This commit is contained in:
Yash Thakkar 2019-10-20 12:31:36 +05:30 committed by GitHub
parent 4da6b9adbe
commit 86b951267b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -12,6 +12,7 @@ Manage images
```yml ```yml
docker build [options] . docker build [options] .
-t "app/container_name" # name -t "app/container_name" # name
--build-arg APP_HOME=$APP_HOME # Set build-time variables
``` ```
Create an `image` from a Dockerfile. Create an `image` from a Dockerfile.