Skip to content

Fix stale keyboard path in Dockerfile default CMD - #4

Draft
benjamingehl wants to merge 1 commit into
masterfrom
claude/happy-darwin-ouncz1
Draft

Fix stale keyboard path in Dockerfile default CMD#4
benjamingehl wants to merge 1 commit into
masterfrom
claude/happy-darwin-ouncz1

Conversation

@benjamingehl

Copy link
Copy Markdown
Owner

Summary

Scheduled maintenance pass: checked dependencies, QMK breaking changes, API deprecations, and GitHub Actions versions against current upstream state.

  • Fixed the Dockerfile's default CMD, which still targeted gmmk/pro. That path stopped resolving once DEFAULT_FOLDER support for the GMMK Pro was removed from QMK — the docker-compose.yaml service was already updated to gmmk/pro/rev1/ansi in a prior commit (2dd8c05), but this fallback CMD (only used for a bare docker run without compose) was missed at the time.

Findings from the audit (no changes needed)

  • GitHub Actions: actions/checkout@v7, docker/setup-buildx-action@v4, docker/build-push-action@v7, actions/github-script@v9, actions/upload-artifact@v7 are all still the current major versions.
  • QMK breaking changes (reviewed every changelog entry after 0.32.0): keycodes used in keymap.c are already current (RM_* matrix keycodes, SC_LSPO/SC_RSPC Space Cadet, ENCODER_MAP instead of the removed encoder_update_kb/user callbacks). No affected macros in rules.mk/config.h (RGB_MATRIX_*, CAPS_WORD, AUTOCORRECT, VIA_ENABLE, DEBOUNCE_TYPE) were touched by upstream.
  • QMK CLI: pipx install qmk + qmk setup -y remains a working install path; QMK's docs now lead with a curl | sh bootstrapper aimed at end-user machines, but it isn't a deprecation of the pipx flow and isn't a better fit for this Docker build, so left as-is.
  • Base image: ubuntu:24.04 is still supported (LTS until 2029); no need to move to 26.04 for this use case.

Test plan

  • CI (Build firmware workflow) compiles successfully via docker-compose.yaml (unaffected by this change, path was already correct there)
  • Local verification of the changed CMD wasn't possible in this sandbox (outbound TLS from inside the Docker container is blocked by the sandbox's egress proxy), so this relies on CI to confirm the image still builds end-to-end.

🤖 Generated with Claude Code

https://claude.ai/code/session_01X5WCd4v4ZtphKVBBcqb1L6


Generated by Claude Code

The default CMD still targeted gmmk/pro, which stopped resolving once
DEFAULT_FOLDER support for the GMMK Pro was removed from QMK (the
compose service was already updated to gmmk/pro/rev1/ansi in
2dd8c05, but this fallback CMD was missed).

Reviewed the repo against the current QMK breaking-changes changelog,
QMK CLI docs, and pinned GitHub Actions versions: keycodes (RM_*,
SC_LSPO/SC_RSPC), ENCODER_MAP usage, rules.mk feature flags, and the
build.yml action versions are all already current — no other changes
needed.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01X5WCd4v4ZtphKVBBcqb1L6
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.

2 participants