Skip to content

Commit fb2abfd

Browse files
mjangy82alessfg
authored
Include JWT license reference to installing-nginx-docker.md (#899)
* Include JWT license reference to installing-nginx-docker.md --------- Co-authored-by: yar <[email protected]> Co-authored-by: Alessandro Fael Garcia <[email protected]>
1 parent 84af917 commit fb2abfd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -335,14 +335,14 @@ To generate a custom NGINX Plus image:
335335
336336
- no files are copied from the Docker host as a container is created: you can add `COPY` definitions to each Dockerfile, or the image you create can be used as the basis for another image
337337
338-
3. Log in to [MyF5 Customer Portal](https://account.f5.com/myf5) and download your *nginx-repo.crt* and *nginx-repo.key* files. For a trial of NGINX Plus, the files are provided with your trial package.
338+
3. Log in to [MyF5 Customer Portal](https://account.f5.com/myf5). As noted in the [Prerequisites](#prerequisites], download your *nginx-repo.crt*, *nginx-repo.key*, and **JSON Web Token** files. For a trial of NGINX Plus, the files are provided with your trial package.
339339
340340
4. Copy the files to the directory where the Dockerfile is located.
341341
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 -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)