Commit a4d9df3
committed
fix(container): remove hadolint ignore directives (root cause)
Commit 9f064c5 added `# hadolint ignore=DL3018,SC2261` to suppress
hadolint warnings on apk fuzzy `>=` pins. The new Rule Integrity
(post v0.4.0 retro, CLAUDE.md amendment) bans ALL linter
suppression directives in any language. Fix root cause.
Revert to exact `-rN` pins accepted by both apk and hadolint:
- ca-certificates=20260413-r0
- tzdata=2026a-r0
- wget=1.25.0-r1
Trade-off: Alpine revision rotation (-r0 → -r1) breaks future
builds; bump manually on Alpine updates. Renovate auto-bump
config deferred to v0.5.x. Rotation warning documented above
each apk RUN block.
Step 10b PRE-PUSH VERIFY (new workflow):
- git status: only Dockerfile changed
- hadolint Dockerfile: 0 warnings
- docker build -t pebblify:test .: success
- go vet ./...: clean
- golangci-lint run ./...: 0 issues
- 4-target cross-compile: PASS
Closes #421 parent 0ebe91a commit a4d9df3
1 file changed
Lines changed: 12 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
13 | 17 | | |
14 | 18 | | |
15 | 19 | | |
| |||
46 | 50 | | |
47 | 51 | | |
48 | 52 | | |
49 | | - | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
50 | 56 | | |
51 | | - | |
52 | | - | |
53 | | - | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
54 | 60 | | |
55 | 61 | | |
56 | 62 | | |
| |||
0 commit comments