Skip to content

feat(library) -> Add nginx 1.31 - #280

Open
vTusharr wants to merge 2 commits into
unikraft:mainfrom
vTusharr:add_nginx-1.31
Open

feat(library) -> Add nginx 1.31#280
vTusharr wants to merge 2 commits into
unikraft:mainfrom
vTusharr:add_nginx-1.31

Conversation

@vTusharr

@vTusharr vTusharr commented Jun 2, 2026

Copy link
Copy Markdown

Adds an nginx 1.31.0 image based on alpine as a base , modelled on the existing 1.25 image.
circumventing CVE which is present in earlier version

@razvand
razvand requested a review from razvanvirtan June 12, 2026 16:16
@razvand razvand self-assigned this Jun 12, 2026
@razvand razvand added the enhancement New feature or request label Jun 12, 2026
@razvand
razvand requested a review from Copilot June 12, 2026 16:16

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new Unikraft library image definition for unikraft.org/nginx:1.31, intended to provide an updated Nginx base (Alpine-based) and address the CVE mentioned in the PR description.

Changes:

  • Introduces a new library/nginx/1.31 image definition (Kraftfile + scratch rootfs Dockerfile).
  • Adds a custom Nginx configuration (single-process, tokens off, gzip, basic security headers).
  • Adds the default Nginx welcome page and a versioned README for running the image.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
library/nginx/1.31/wwwroot/index.html Adds the default Nginx welcome page content.
library/nginx/1.31/README.md Documents how to run/query the new unikraft.org/nginx:1.31 image.
library/nginx/1.31/Kraftfile Defines the Unikraft build configuration and lwIP settings for Nginx 1.31.
library/nginx/1.31/Dockerfile Builds a minimal scratch rootfs by copying Nginx + runtime deps from nginx:1.31.0-alpine.
library/nginx/1.31/conf/nginx.conf Adds the Nginx runtime configuration for the image.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread library/nginx/1.31/conf/nginx.conf Outdated
Comment thread library/nginx/1.31/README.md
Comment thread library/nginx/1.31/README.md Outdated

@razvanvirtan razvanvirtan left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still waiting for WASP permissions to start the testing. @vTusharr In the meantime, please fix the issues mentioned by Copilot. Also, see my follow-up comment.

Comment thread library/nginx/1.31/conf/nginx.conf Outdated
@vTusharr
vTusharr force-pushed the add_nginx-1.31 branch 2 times, most recently from cd969f7 to 5eff2f7 Compare June 21, 2026 15:18
@vTusharr
vTusharr requested a review from Copilot June 21, 2026 15:21

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 7 out of 7 changed files in this pull request and generated 2 comments.

Comment thread library/nginx/1.31/Dockerfile
Comment thread library/nginx/1.31/Kraftfile

@razvanvirtan razvanvirtan left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @vTusharr!

@vTusharr

Copy link
Copy Markdown
Author

@razvand gentle ping.

@razvand
razvand requested review from AndreiRV1 and raresgoidescu and removed request for AndreiRV1 August 2, 2026 12:35

@razvand razvand left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use a separate commit for the workflow.

Be sure to follow the commit best practices:

  • Start with capital letter.
  • Use present tense.
  • Use a commit title and commit body.
  • Sign your commit.
  • Use the proper e-mail address for commit authorship and signature.

@vTusharr vTusharr changed the title feat(library) -> add nginx 1.31 feat(library) -> Add nginx 1.31 Aug 4, 2026
@vTusharr
vTusharr force-pushed the add_nginx-1.31 branch 2 times, most recently from 1c6fe97 to 739ae68 Compare August 7, 2026 15:37
Adds an nginx 1.31.0 image based on alpine as a base, modelled on the existing 1.25 image.

Signed-off-by: Tushar Verma <tusharVermaiota@proton.me>
Add the build and push workflow for the `unikraft.org/nginx:1.31`
image, and list the image in the top-level README table.

Signed-off-by: Tushar Verma <tusharVermaiota@proton.me>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants