Skip to content

Commit 06fab9c

Browse files
mjangalessfg
andauthored
Update content/nginx/admin-guide/installing-nginx/installing-nginx-docker.md
Co-authored-by: Alessandro Fael Garcia <[email protected]>
1 parent 985697c commit 06fab9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/nginx/admin-guide/installing-nginx/installing-nginx-docker.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ To generate a custom NGINX Plus image:
342342
5. Create a Docker image, for example, `nginxplus` (note the final period in the command).
343343
344344
```shell
345-
docker build --no-cache --secret id=nginx-key,src=nginx-repo.key --secret id=nginx-crt,src=nginx-repo.crt --secret id=nginx-jwt,src=license.jwt -t nginxplus .
345+
docker build --no-cache --secret id=nginx-key,src=nginx-repo.key --secret id=nginx-crt,src=nginx-repo.crt --secret id=nginx-jwt,src=license.jwt -t nginxplus .
346346
```
347347
348348
The `--no-cache` option tells Docker to build the image from scratch and ensures the installation of the latest version of NGINX Plus. If the Dockerfile was previously used to build an image without the `--no-cache` option, the new image uses the version of NGINX Plus from the previously built image from the Docker cache.

0 commit comments

Comments
 (0)