Update build-images.md

This commit is contained in:
Usha Mandya 2021-11-17 14:33:01 +00:00 committed by GitHub
parent b90deff361
commit 57639274cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -159,7 +159,8 @@ To increase the performance of the build, and as a general best practice, we rec
target
```
This line excludes the `target` directory, which contains output from Maven, from the Docker build context. The build context is what Docker commands like `RUN` refer to and it has to be created for every build, by packaging up any files not excluded by `.dockerignore`. There are many good reasons to carefully structure a `.dockerignore` file, but this one-line file is good enough for now.
This line excludes the `target` directory, which contains output from Maven, from the Docker build context.
There are many good reasons to carefully structure a `.dockerignore` file, but this one-line file is good enough for now.
## Build an image