fix(resec): resolve DL3003 hadolint warning using WORKDIR#310
Merged
bdossantos merged 3 commits intomasterfrom Feb 22, 2026
Merged
fix(resec): resolve DL3003 hadolint warning using WORKDIR#310bdossantos merged 3 commits intomasterfrom
bdossantos merged 3 commits intomasterfrom
Conversation
Co-authored-by: bdossantos <245284+bdossantos@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update resec images to Trixie
feat(resec): update base images to trixie
Feb 20, 2026
There was a problem hiding this comment.
Pull request overview
This PR migrates the resec service from Debian 12 (bookworm) to Debian 13 (trixie), updating both the Go builder and runtime base images. This is the first service in the repository to use debian:13-slim and golang:1.24-trixie, following the migration pattern established by thumbor and paperless-ngx for Python-based services.
Changes:
- Builder stage updated from golang:1.20-bookworm to golang:1.24-trixie with pinned digest
- Runtime stage updated from debian:12-slim to debian:13-slim with pinned digest
- ca-certificates package updated from bookworm version (20230311+deb12u1) to trixie version (20250419)
- Test file updated to reflect correct version string (v1.5.2) and new binary checksum from Go 1.24/trixie rebuild
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| dockerfiles/resec/Dockerfile | Updates builder from golang:1.20-bookworm to golang:1.24-trixie and runtime from debian:12-slim to debian:13-slim, with ca-certificates version updated to trixie standard |
| tests/resec.yaml | Fixes stale version string (v1.1.2 → v1.5.2) and updates SHA256 checksum for binary rebuilt with Go 1.24/trixie |
Co-authored-by: bdossantos <245284+bdossantos@users.noreply.github.com>
Copilot
AI
changed the title
feat(resec): update base images to trixie
fix(resec): resolve DL3003 hadolint warning using WORKDIR
Feb 20, 2026
bdossantos
approved these changes
Feb 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
# hadolint ignore=DL3003directive was ineffective because a# FIXMEcomment between it and theRUNinstruction broke hadolint's ignore matching.Changes
dockerfiles/resec/Dockerfile: Replacecd /go/resecwithWORKDIR /go/resec; clone repo into.(current directory); remove now-redundant ignore and FIXME comments✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.