Skip to content

Commit e08feb7

Browse files
committed
docs: Tweak community files
1 parent 5e359a8 commit e08feb7

File tree

8 files changed

+34
-63
lines changed

8 files changed

+34
-63
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ body:
1919
attributes:
2020
label: Bug Overview
2121
description: A clear and concise overview of the bug.
22-
placeholder: When I do "X", "Y" happens instead of "Z".
22+
placeholder: When I do "X" with the NGINX unprivileged Docker image, "Y" happens instead of "Z".
2323
validations:
2424
required: true
2525

@@ -28,7 +28,7 @@ body:
2828
attributes:
2929
label: Expected Behavior
3030
description: A clear and concise description of what you expected to happen.
31-
placeholder: When I do "X", I expect "Z" to happen.
31+
placeholder: When I do "X" with the NGINX unprivileged Docker image, I expect "Z" to happen.
3232
validations:
3333
required: true
3434

@@ -37,7 +37,7 @@ body:
3737
attributes:
3838
label: Steps to Reproduce the Bug
3939
description: Detail the series of steps required to reproduce the bug. Deploy NGINX Unprivileged Docker image, View output/logs/configuration on '...', See error.
40-
placeholder: When I run "X" using [...], "X" fails with "Y" error message. If I check the terminal outputs and/or logs, I see the following info.
40+
placeholder: When I run the NGINX Docker unprivileged image using [...], the image fails with an error message. If I check the terminal outputs and/or logs, I see the following error info.
4141
validations:
4242
required: true
4343

@@ -47,9 +47,10 @@ body:
4747
label: Environment Details
4848
description: Please provide details about your environment.
4949
value: |
50-
- Version of Docker and method of installation (e.g. Docker Desktop / Docker Server)
51-
- Version/tag of the NGINX Unprivileged Docker image (e.g. `nginxinc/nginx-unprivileged:alpine`)
52-
- Target deployment environment/platform (e.g. OpenShift / Kubernetes / Docker Compose / etc...)
50+
- Version of Docker and method of installation: [e.g. Docker Desktop / Docker Server]
51+
- Version/tag of the NGINX Docker unprivileged image or specific commit: [e.g. 1.4.3/commit hash]
52+
- Target deployment platform: [e.g. OpenShift/Kubernetes/Docker Compose/local cluster/etc...]
53+
- Target OS: [e.g. RHEL 9/Ubuntu 24.04/etc...]
5354
validations:
5455
required: true
5556

.github/ISSUE_TEMPLATE/feature_request.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ body:
2222
attributes:
2323
label: Feature Overview
2424
description: A clear and concise description of what the feature request is.
25-
placeholder: I would like this project to be able to do "X".
25+
placeholder: I would like the NGINX Docker unprivileged image to be able to do "X".
2626
validations:
2727
required: true
2828

@@ -31,7 +31,7 @@ body:
3131
attributes:
3232
label: Alternatives Considered
3333
description: Detail any potential alternative solutions/workarounds you've used or considered.
34-
placeholder: I have done/might be able to do "X" in this project by doing "Y".
34+
placeholder: I have done/might be able to do "X" using the NGINX Docker unprivileged image by doing "Y".
3535

3636
- type: textarea
3737
id: context

.github/scorecard.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
---
22
annotations:
33
- checks:
4-
- contributors
54
- fuzzing
6-
- packaging
75
- sast
8-
- signed-releases
96
reasons:
107
- reason: not-applicable

.github/workflows/ossf_scorecard.yml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
schedule:
99
- cron: "0 0 * * 1"
1010
push:
11-
branches: [main, master]
11+
branches: [main]
1212
workflow_dispatch:
1313
# Declare default permissions as read only.
1414
permissions: read-all
@@ -23,12 +23,6 @@ jobs:
2323
security-events: write
2424
# Needed for GitHub OIDC token if publish_results is true.
2525
id-token: write
26-
# Uncomment the permissions below if you are using the OSSF Scorecard on a private repository.
27-
# contents: read
28-
# actions: read
29-
# issues: read # To allow GraphQL ListCommits to work
30-
# pull-requests: read # To allow GraphQL ListCommits to work
31-
# checks: read # To detect SAST tools
3226
steps:
3327
- name: Check out the codebase
3428
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -40,12 +34,7 @@ jobs:
4034
with:
4135
results_file: results.sarif
4236
results_format: sarif
43-
# (Optional) fine-grained personal access token. Uncomment the `repo_token` line below if you want to enable the Branch-Protection or Webhooks check on a *private* repository.
44-
# To create the PAT, follow the steps in https://github.com/ossf/scorecard-action#authentication-with-fine-grained-pat-optional.
45-
# repo_token: ${{ secrets.SCORECARD_TOKEN }}
46-
4737
# Publish the results for public repositories to enable scorecard badges. For more details, see https://github.com/ossf/scorecard-action#publishing-results.
48-
# For private repositories, `publish_results` will automatically be set to `false`, regardless of the value entered here.
4938
publish_results: true
5039

5140
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF format to the repository Actions tab.

CONTRIBUTING.md

Lines changed: 10 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,16 @@
11
# Contributing Guidelines
22

3-
The following is a set of guidelines for contributing to the Docker Unprivileged NGINX image. We really appreciate that you are considering contributing!
3+
The following is a set of guidelines for contributing to the NGINX Docker unprivileged image. We really appreciate that you are considering contributing!
44

55
#### Table Of Contents
66

77
- [Getting Started](#getting-started)
88
- [Contributing](#contributing)
99
- [Code Guidelines](#code-guidelines)
10-
- [Docker NGINX Unprivileged Guidelines](#docker-nginx-unprivileged-guidelines)
11-
- [Git Guidelines](#git-guidelines)
12-
- [Code of Conduct](/CODE_OF_CONDUCT.md)
1310

1411
## Getting Started
1512

16-
Follow the instructions on the README's [Getting Started](/README.md#Getting-Started) section to get this project up and running.
17-
18-
<!-- ### Project Structure (OPTIONAL) -->
19-
## Ask a Question
20-
21-
Don't know how something works? Curious if the role can achieve your desired functionality? Please open an Issue on GitHub with the label `question`.
22-
23-
### Project Overview
24-
25-
- The Docker Unprivileged NGINX repository is a mirror image of the [Docker NGINX image](https://github.com/nginxinc/docker-nginx). Changes have been made in order to support running NGINX in an unprivileged environment.
26-
- New Docker Unprivileged NGINX images are built on a weekly basis using GitHub actions.
13+
Look at the upstream Docker image [how to use this image guide](https://hub.docker.com/_/nginx/) to get the NGINX Docker unprivileged image up and running.
2714

2815
## Contributing
2916

@@ -39,6 +26,10 @@ To suggest a feature or enhancement, please create an issue on GitHub with the l
3926

4027
- Fork the repo, create a branch, implement your changes, test that the corresponding Docker images can be built and run as intended, and submit a PR when your changes are **tested** and ready for review.
4128
- Fill in the [PR template](/.github/pull_request_template.md).
29+
- This repository is a mirror image of the upstream [NGINX Docker image](https://github.com/nginxinc/docker-nginx) with minor changes in order to support running NGINX in an unprivileged environment. As such only two types of PRs will be considered:
30+
31+
1. PRs that incorporate changes made to the upstream image that have not yet been ported to this image (e.g. there's a new NGINX release).
32+
2. PRs that add a critical feature or a nice-to-have enhancement for running these images on an unprivileged environment (e.g. allowing users specify to the UID/GID of the image user).
4233

4334
**Note:** If you'd like to implement a new feature, please consider creating a [feature request issue](/.github/ISSUE_TEMPLATE/feature_request.yml) first to start a discussion about the feature.
4435

@@ -50,12 +41,11 @@ If you have not yet agreed to the F5 CLA terms and submit a PR to this repositor
5041

5142
## Code Guidelines
5243

53-
### Docker NGINX Unprivileged Guidelines
54-
55-
Given this repository is a mirror image of the upstream [Docker NGINX image](https://github.com/nginxinc/docker-nginx), only two types of PRs will be considered:
44+
### Docker Guidelines
5645

57-
1. PRs that incorporate changes made to upstream images (e.g. there's a new NGINX release).
58-
2. PRs that add a critical feature or a nice-to-have enhancement for running these images on an unprivileged environment (e.g. allowing users specify to the UID/GID of the image user).
46+
- Update any entrypoint scripts via the the scripts contained in the [`/entrypoint`](/entrypoint) directory.
47+
- Update any Dockerfiles via the Dockerfile templates in the root directory (e.g. [`Dockerfile-alpine.template`](/Dockerfile-alpine.template)).
48+
- Run the [`./update.sh`](/update.sh) script to apply all entrypoint/Dockerfile template changes to the relevant image entrypoints & Dockerfiles.
5949

6050
### Git Guidelines
6151

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/nginx/template-repository/badge)](https://securityscorecards.dev/viewer/?uri=github.com/nginx/template-repository)
1+
[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/nginx/docker-nginx-unprivileged/badge)](https://securityscorecards.dev/viewer/?uri=github.com/nginx/docker-nginx-unprivileged)
22
[![Project Status: Active – The project has reached a stable, usable state and is being actively developed.](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active)
33
[![Community Support](https://badgen.net/badge/support/community/cyan?icon=awesome)](/SUPPORT.md)
44
[![Community Forum](https://img.shields.io/badge/community-forum-009639?logo=discourse&link=https%3A%2F%2Fcommunity.nginx.org)](https://community.nginx.org)
@@ -56,7 +56,7 @@ Most images are built for the `amd64`, `arm32v5` (for Debian), `arm32v6` (for Al
5656
}
5757
```
5858
59-
## On Reporting Issues
59+
## On Reporting Issues and Opening PRs
6060
6161
Whilst issues and PRs are welcome, please do note that:
6262
@@ -72,4 +72,4 @@ Please see the [contributing guide](/CONTRIBUTING.md) for guidelines on how to b
7272
7373
[Apache License, Version 2.0](/LICENSE)
7474
75-
&copy; [F5, Inc.](https://www.f5.com/) 2018-2025
75+
&copy; [F5, Inc.](https://www.f5.com/) 2018 - 2025

SECURITY.md

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,20 @@
22

33
## Latest Versions
44

5-
We advise users to run or update to the most recent release of this project. Older versions of this project may not have all enhancements and/or bug fixes applied to them.
5+
We advise users to run or update to the most recent release of the NGINX Docker unprivileged image. Older versions of the NGINX Docker unprivileged image may not have all enhancements and/or bug fixes applied to them.
66

77
## Reporting a Vulnerability
88

99
The F5 Security Incident Response Team (F5 SIRT) offers two methods to easily report potential security vulnerabilities:
1010

11-
### Docker NGINX Unprivileged Image
11+
- If you’re an F5 customer with an active support contract, please contact [F5 Technical Support](https://www.f5.com/support).
12+
- If you aren’t an F5 customer, please report any potential or current instances of security vulnerabilities in any F5 product to the F5 Security Incident Response Team at <[email protected]>.
13+
14+
For more information, please read the F5 SIRT vulnerability reporting guidelines available at [https://www.f5.com/support/report-a-vulnerability](https://www.f5.com/support/report-a-vulnerability).
1215

13-
If you find a security vulnerability that directly affects a direct NGINX library dependency we encourage you open an issue detailing the security vulnerability.
16+
## CVEs to be considered
17+
18+
If you find a security vulnerability that directly affects a direct NGINX library dependency we encourage you open an issue detailing the security vulnerability. ***Only vulnerabilities related to to direct NGINX library dependencies will be considered. Other security vulnerabilities will be addressed by the weekly Monday night build and as such will be ignored/promptly closed.***
1419

1520
For reference, the direct NGINX library dependencies are:
1621

@@ -27,14 +32,3 @@ For reference, the direct NGINX library dependencies are:
2732
- `libpcre2`
2833
- `libssl`
2934
- `libz`
30-
31-
***Note: Only vulnerabilities related to direct NGINX library dependencies will be considered. Other security vulnerabilities should be addressed by the weekly Monday night build and as such will be promptly closed.***
32-
33-
### Codebase
34-
35-
If you find a security vulnerability that affects the codebase, we encourage you to report it to the F5 Security Incident Response Team (F5 SIRT):
36-
37-
- If you’re an F5 customer with an active support contract, please contact [F5 Technical Support](https://www.f5.com/support).
38-
- If you aren’t an F5 customer, please report any potential or current instances of security vulnerabilities in any F5 product to the F5 Security Incident Response Team at <[email protected]>.
39-
40-
For more information, please read the F5 SIRT vulnerability reporting guidelines available at [https://www.f5.com/support/report-a-vulnerability](https://www.f5.com/support/report-a-vulnerability).

SUPPORT.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ Want to get in touch with the NGINX development team directly? Try using the rel
2626

2727
## Contributing
2828

29-
Please see the [contributing guide](https://github.com/nginxinc/docker-nginx-unprivileged/blob/main/CONTRIBUTING.md) for guidelines on how to best contribute to this project.
29+
Please see the [contributing guide](/CONTRIBUTING.md) for guidelines on how to best contribute to this project.
3030

3131
## Commercial Support
3232

33-
Commercial support for this project may be available. Please get in touch with [NGINX sales](https://www.nginx.com/contact-sales/) or check your contract details for more info!
33+
Commercial support for this project may be available. Please get in touch with [NGINX sales](https://www.f5.com/products/get-f5/) or check your contract details for more info!
3434

3535
## Community Support
3636

37-
This project does **not** offer commercial support. Community support is offered on a best effort basis through either GitHub issues/PRs/discussions or through any of our active communities.
37+
Community support is offered on a best effort basis through either GitHub issues/PRs/discussions or through any of our active communities.

0 commit comments

Comments
 (0)