Fix CI: switch from Alpine to Debian-based containers #2

Merged
Gravity Bot merged 2 commits from fix/ci-alpine-containers into main 2026-02-16 17:01:23 +00:00
Collaborator

Summary

All CI jobs fail within seconds because Alpine-based container images lack Node.js and git, which actions/checkout@v4 requires.

Root Cause

  • golang:1.23-alpine has no Node.js (checkout is a JS action) and no git
  • node:20-alpine has Node.js but no git
  • Gashy's working CI uses Debian-based golang:1.25 + installs Node.js before checkout

Fix

  • Switch golang:1.23-alpinegolang:1.23 (Debian-based, has git)
  • Switch node:20-alpinenode:20 (Debian-based, has git)
  • Add apt-get install nodejs step before checkout in Go containers

Refs OP#695

## Summary All CI jobs fail within seconds because Alpine-based container images lack Node.js and git, which `actions/checkout@v4` requires. ### Root Cause - `golang:1.23-alpine` has no Node.js (checkout is a JS action) and no git - `node:20-alpine` has Node.js but no git - Gashy's working CI uses Debian-based `golang:1.25` + installs Node.js before checkout ### Fix - Switch `golang:1.23-alpine` → `golang:1.23` (Debian-based, has git) - Switch `node:20-alpine` → `node:20` (Debian-based, has git) - Add `apt-get install nodejs` step before checkout in Go containers Refs OP#695
fix(ci): switch from Alpine to Debian-based container images
Some checks failed
CI / frontend-security (pull_request) Failing after 41s
CI / frontend-build (pull_request) Failing after 42s
CI / backend-lint (pull_request) Successful in 1m13s
CI / backend-security (pull_request) Failing after 1m21s
CI / backend-test (pull_request) Successful in 1m22s
5c19bcee4a
Alpine images lack Node.js (required by actions/checkout@v4 which is
a JavaScript action) and git (required for repo cloning). This caused
all 5 CI jobs to fail within seconds.

Switch to Debian-based images (golang:1.23, node:20) and install
Node.js before checkout in Go containers, matching the pattern used
by gashy's working CI pipeline.

Refs OP#695

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
fix(ci): resolve remaining CI failures
Some checks failed
CI / frontend-security (pull_request) Successful in 38s
CI / backend-security (pull_request) Failing after 50s
CI / backend-test (pull_request) Successful in 1m6s
CI / backend-lint (pull_request) Successful in 1m15s
CI / frontend-build (pull_request) Successful in 49s
bfc790184d
- Fix npm audit vulnerabilities (axios, lodash) via npm audit fix
- Add ESLint flat config for Next.js 16 (next lint was removed)
- Update lint script to use eslint directly
- Fix unescaped apostrophes in JSX (react/no-unescaped-entities)
- Move CustomTooltip outside render function
- Make govulncheck advisory (continue-on-error) since Go 1.23
  stdlib has known vulns requiring a Go version upgrade

Refs OP#695

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
mike/WhereTheHeartIsGo!2
No description provided.