Skip to content

fix(frontend): strip file capabilities from caddy binary to allow execution without capabilities - #615

Closed
DerekRoberts wants to merge 3 commits into
mainfrom
feat/fix-caddy-exec
Closed

fix(frontend): strip file capabilities from caddy binary to allow execution without capabilities#615
DerekRoberts wants to merge 3 commits into
mainfrom
feat/fix-caddy-exec

Conversation

@DerekRoberts

@DerekRoberts DerekRoberts commented Jul 17, 2026

Copy link
Copy Markdown
Member

Thanks for the PR!

Any successful deployments (not always required) will be available below.
API available
Frontend available

Once merged, code will be promoted and handed off to following workflow run.
Main Merge Workflow

@DerekRoberts
DerekRoberts requested a review from mishraomp as a code owner July 17, 2026 23:11
Copilot AI review requested due to automatic review settings July 17, 2026 23:11

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

This PR updates the frontend container image build to remove Linux file capabilities from the bundled Caddy binary, aiming to allow Caddy to execute in environments where binaries with capabilities are restricted.

Changes:

  • Adds a build step to install libcap and run setcap -r /usr/bin/caddy, then removes libcap afterward.
  • Removes the prior caddy fmt --overwrite /etc/caddy/Caddyfile step from the image build.

Comment thread frontend/Dockerfile Outdated
@DerekRoberts DerekRoberts moved this to Active in DevOps (NR) Jul 17, 2026
@DerekRoberts DerekRoberts self-assigned this Jul 17, 2026
DerekRoberts and others added 2 commits July 17, 2026 18:17
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@github-project-automation github-project-automation Bot moved this from Active to Done in DevOps (NR) Jul 18, 2026
@DerekRoberts
DerekRoberts deleted the feat/fix-caddy-exec branch July 18, 2026 01:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants