Skip to content

fix(docker): Restore Vite+ release image builds - #188

Merged
yuanzui-cf merged 1 commit into
mainfrom
fix/docker-release-build
Sep 10, 2026
Merged

fix(docker): Restore Vite+ release image builds#188
yuanzui-cf merged 1 commit into
mainfrom
fix/docker-release-build

Conversation

@yuanzui-cf

@yuanzui-cf yuanzui-cf commented Sep 10, 2026

Copy link
Copy Markdown
Member

Summary

Release image builds failed at vp install --frozen-lockfile because the Dockerfile added /root/.vite-plus/bin to PATH while the installer placed Vite+ in /root/.local/share/vite-plus/bin. Use the actual installation path and verify vp immediately after installation.

The Quality workflow now builds the Debian, Slim, and Alpine release targets through the same Docker Bake definition used for publishing, then runs both packaged binaries with --version. Validation images remain local to the CI runner. The self-hosting guide documents this coverage.

Validation

  • Built the Console builder through dependency installation and production asset compilation.
  • Built all three release runtime images locally on Linux ARM64 with Docker Bake.
  • Ran grass-control-api --version and grass-node --version successfully in each image with networking disabled.
  • just quality passed: 483 Control API tests, 117 Node tests, and 225 Console tests, plus formatting, lint, checks, builds, and license validation. Infrastructure-dependent ignored tests were not rerun for this Dockerfile/workflow change.
  • actionlint passed for the updated Quality workflow.
  • git diff --check passed.
  • GitHub Actions passed Quality, Node delivery smoke, and Release images for 832d6794. On Linux AMD64, all three release variants built successfully and both packaged binaries started in each image.

Tracking

Closes #187

Parent: #28

Repeat the closing reference when promoting develop to the default main branch.

Use the installer executable path and verify vp before installing Console dependencies. Build all release runtime variants and check their packaged binaries in the Quality workflow.

Refs #187
@yuanzui-cf yuanzui-cf added this to the 0.1.0 milestone Sep 10, 2026
@yuanzui-cf yuanzui-cf added type: fix Behavioral correction or bug fix area: infra Continuous integration and delivery infrastructure labels Sep 10, 2026
@yuanzui-cf yuanzui-cf self-assigned this Sep 10, 2026
@yuanzui-cf
yuanzui-cf changed the base branch from develop to main September 10, 2026 06:40
@yuanzui-cf
yuanzui-cf merged commit 685dae7 into main Sep 10, 2026
3 checks passed
@yuanzui-cf
yuanzui-cf deleted the fix/docker-release-build branch September 10, 2026 06:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: infra Continuous integration and delivery infrastructure type: fix Behavioral correction or bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Restore release Docker builds and validate runtime images in CI

1 participant