Skip to content

feat(library): Add lighttpd 1.4 - #282

Open
vTusharr wants to merge 2 commits into
unikraft:mainfrom
vTusharr:add_lighttpd
Open

feat(library): Add lighttpd 1.4#282
vTusharr wants to merge 2 commits into
unikraft:mainfrom
vTusharr:add_lighttpd

Conversation

@vTusharr

@vTusharr vTusharr commented Jun 18, 2026

Copy link
Copy Markdown

Add a lighttpd 1.4 unikernel image (bincompat), built on Alpine since there is no official lighttpd Docker image. Also added related CI workflow

@razvand
razvand requested a review from Copilot August 2, 2026 12:35
@razvand razvand self-assigned this Aug 2, 2026
@razvand razvand added the enhancement New feature or request label Aug 2, 2026

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 running lighttpd 1.4.82 via bincompat on an Alpine-based scratch rootfs, along with a dedicated GitHub Actions workflow to build/test/push the resulting OCI image.

Changes:

  • Added library/lighttpd/1.4.82 with Kraftfile, rootfs Dockerfile, minimal lighttpd config, and a sample wwwroot/index.html.
  • Added a scheduled + PR/push CI workflow to build for qemu/fc and smoke-test HTTP serving on qemu.
  • Added usage documentation for running the image with kraft.

Reviewed changes

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

Show a summary per file
File Description
library/lighttpd/1.4.82/wwwroot/index.html Adds a basic landing page served by lighttpd.
library/lighttpd/1.4.82/README.md Documents how to run and curl the image.
library/lighttpd/1.4.82/Kraftfile Defines the Unikraft build (elfloader template, lwIP, targets).
library/lighttpd/1.4.82/Dockerfile Builds an Alpine-based scratch rootfs containing the lighttpd binary + runtime files.
library/lighttpd/1.4.82/conf/lighttpd.conf Minimal config pointing to /wwwroot and using /tmp for uploads.
.github/workflows/library-lighttpd1.4.82.yaml CI to build, test (HTTP smoke test), and push the image.
Suppressed comments (2)

library/lighttpd/1.4.82/conf/lighttpd.conf:6

  • Trailing whitespace in the comment line.
# Request-body temp dir 

library/lighttpd/1.4.82/conf/lighttpd.conf:12

  • The comment has inconsistent spacing (double spaces) and reads a bit oddly with "an" at the end of the line. Consider normalizing it.
# Content-Type is derived from lighttpd  built-in  defaults; an
# explicit mimetype.assign is only needed to override them.

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

Comment thread library/lighttpd/1.4.82/Dockerfile Outdated
Comment thread library/lighttpd/1.4.82/Dockerfile Outdated
Comment thread library/lighttpd/1.4.82/README.md Outdated
Comment thread library/lighttpd/1.4.82/conf/lighttpd.conf Outdated
Comment thread library/lighttpd/1.4.82/Dockerfile Outdated
@razvand

razvand commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

@vTusharr , use present tense in the commit message. Use Add instead of `Added.

End period . at end of sentences.

Use Add instead of add in the commit title.

@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.

See my comments.

Create a separate commit for the workflow. You will have to commits in this PR:

  1. Files to build and run Lighttpd with Unikraft
  2. The GitHub workflow YAML file

Comment thread .github/workflows/library-lighttpd1.4.82.yaml Outdated
Comment thread .github/workflows/library-lighttpd1.4.82.yaml Outdated
Comment thread .github/workflows/library-lighttpd1.4.82.yaml Outdated
Comment thread .github/workflows/library-lighttpd1.4.82.yaml Outdated
Comment thread .github/workflows/library-lighttpd1.4.82.yaml Outdated
Comment thread library/lighttpd/1.4.82/Dockerfile Outdated
Comment thread library/lighttpd/1.4.82/Dockerfile Outdated
Comment thread library/lighttpd/1.4.82/README.md Outdated
Comment thread library/lighttpd/1.4.82/README.md Outdated
Comment thread library/lighttpd/1.4.82/README.md Outdated
@vTusharr vTusharr changed the title feat(library): add lighttpd 1.4.82 feat(library): Add lighttpd 1.4.82 Aug 4, 2026
@vTusharr vTusharr changed the title feat(library): Add lighttpd 1.4.82 feat(library): Add lighttpd 1.4 Aug 5, 2026
Add the definition for the `unikraft.org/lighttpd:1.4` image.

Signed-off-by: Tushar Verma <tusharVermaiota@proton.me>
Add the build, push and runtime validation workflow for the lighttpd 1.4

Signed-off-by: Tushar Verma <tusharVermaiota@proton.me>
@vTusharr
vTusharr requested a review from razvand August 7, 2026 15:25
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.

3 participants