8000 fix: embed dashboard UI in Docker image by zach-snell · Pull Request #15 · getmockd/mockd · GitHub
[go: up one dir, main page]

Skip to content

fix: embed dashboard UI in Docker image - #15

Merged
zach-snell merged 3 commits into
mainfrom
fix/docker-embed-dashboard
Apr 9, 2026
Merged

zach-snell merged 3 commits into
mainfrom
fix/docker-embed-dashboard

Conversation

@zach-snell
@zach-snell zach-snell commented Apr 9, 2026 •
Copy link
Copy Markdown
Contributor

Summary

  • Docker images built from main pushes were missing the admin dashboard UI (404 on admin page) because the build didn't include the web UI assets or the required build tag
  • Tagged release images (e.g. v0.6.4) worked fine since the release pipeline handles this correctly
  • The Docker workflow now fetches the pre-built dashboard dist and builds with -tags dashboard so the web UI is properly embedded in all CI-built images

Closes #14

Test plan

  • CI passes on this PR
  • Verify the resulting Docker image serves the admin UI on the admin port instead of returning 404

The Docker workflow was building without -tags dashboard and without
fetching the pre-built dashboard dist, causing the admin UI to 404.
Mirror the release workflow's dashboard fetch step and add the build tag.
Fixes govulncheck failures from transitive dependency vulnerabilities
patched in 1.26.2.
Try matching tag first, fall back to latest stable release — mirrors
the release.yaml approach so tag pushes get the matching dashboard
version.
@zach-snell
zach-snell merged commit 5d9df7b into main Apr 9, 2026
12 checks passed
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.

[BUG] 404 on admin URL on the latest (8b90881) docker image

1 participant

0