Fix typo in Dockerfile Best Practices ENV section

The example below this change shows that the ENV value can be dumped so I think this was a typo saying that the ENV value can't be dumped.
This commit is contained in:
Henare Degan 2021-02-10 14:14:40 +11:00 committed by GitHub
parent 17507f0dee
commit 8889138246
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -656,7 +656,7 @@ auto-magically bump the version of the software in your container.
Each `ENV` line creates a new intermediate layer, just like `RUN` commands. This
means that even if you unset the environment variable in a future layer, it
still persists in this layer and its value can't be dumped. You can test this by
still persists in this layer and its value can be dumped. You can test this by
creating a Dockerfile like the following, and then building it.
```dockerfile