Skip to content

[image]: swagger-ui#358

Open
dylanmtaylor wants to merge 1 commit into
docker-hardened-images:mainfrom
dylanmtaylor:image/swagger-ui
Open

[image]: swagger-ui#358
dylanmtaylor wants to merge 1 commit into
docker-hardened-images:mainfrom
dylanmtaylor:image/swagger-ui

Conversation

@dylanmtaylor

Copy link
Copy Markdown

Description

Add a new hardened container image definition for swagger-ui — a minimal, secure alternative to the official Swagger UI image.

Type of Change

[✓] New image
[ ] New Helm chart
[ ] New package
[ ] Documentation improvement or correction
[ ] Example configuration or use case
[ ] Community tooling or script
[ ] Website or catalog enhancement
[ ] Bug fix
[ ] Other (please describe):

Related Issues

#355

Changes Made

• Added image/swagger-ui/ with Debian 13 runtime and dev variants
• Packaged swagger-ui version v5.32.6
• Stripped Node.js dev tools from runtime for minimal attack surface (only static JS/HTML served via a pure Nginx runtime container)
• Lightweight runtime configurability using secure shell entrypoint for SWAGGER_JSON_URL and mounted SWAGGER_JSON specs
• Secure, non-root Nginx server configuration (listening on port 8080 as user nginx with UID 65532)
• Includes info.yaml, overview.md, guides.md, and logo.svg

Testing

[✓] I have tested these changes locally
[✓] All existing tests pass
[ ] I have added new tests (if applicable)

Screenshots (if applicable)

N/A

Checklist

[✓] My changes follow the repository's style and conventions
[✓] I have updated documentation as needed
[✓] My commit messages are clear and descriptive


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@dylanmtaylor dylanmtaylor requested a review from a team as a code owner May 21, 2026 00:55
@dylanmtaylor dylanmtaylor force-pushed the image/swagger-ui branch 2 times, most recently from 7fec092 to 7382c7d Compare May 21, 2026 01:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant