Repository navigation
Serve the web build from nginx:alpine-slim on main (libexpat CVEs) - #12501
Merged
Merged
Conversation
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com> (cherry picked from commit 68f5022)
hamishfagg
approved these changes
Oct 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is #12500 cherry-picked onto
main. #12500 merged tostaging, but mindshub's staging hasn't been released to main since 2026-09-10. Snyk/Vanta scanmain, so the libexpat findings (CVE-2026-76641, CVE-2026-66046, both high) are still open there.Linear: https://linear.app/mindsdb/issue/ENG-3415/soc2-switch-mindshub-web-image-to-nginxalpine-slim-libexpat-snyk
docker/web.DockerfileFROM nginx:alpine→FROM nginx:alpine-slimdocker/is a DevOps-owned path, so this needs a @mindsdb/devops approval. When staging is next released to main, this change is already there, so it won't conflict.Validation: the same one-line change was built and smoke-tested for #12500:
nginx -t, the SPA fallback and the/v1/proxy all passed on the slim image. Main'sdocker/nginx.confdiffers from staging's only in the proxy target (http://api:26866instead of127.0.0.1) and uses the same core directives (proxy_pass,proxy_set_header,try_files), whichnginx:alpine-slimincludes. I didn't rebuild the image from main.🤖 Generated with Claude Code