Skip to content

Define Thumbor VERSION in runtime stage so image labels resolve correctly#332

Draft
Copilot wants to merge 3 commits into
masterfrom
copilot/fix-review-comment-331
Draft

Define Thumbor VERSION in runtime stage so image labels resolve correctly#332
Copilot wants to merge 3 commits into
masterfrom
copilot/fix-review-comment-331

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Jun 1, 2026

The linked review comment identified that $VERSION was only defined in the build stage, causing runtime image labels to expand to empty values. This updates the Thumbor Dockerfile so metadata labels publish the intended 7.8.0 version.

  • What changed

    • Added VERSION=7.8.0 to the runtime-stage ENV block in dockerfiles/thumbor/Dockerfile.
    • Kept scope intentionally narrow to the single review-comment request.
  • Why this matters

    • Runtime labels org.label-schema.version and org.opencontainers.image.version now resolve to the expected version instead of an empty string.
ENV \
  DEBIAN_FRONTEND=noninteractive \
  PYTHONUSERBASE=/app \
  PATH=$PATH:/app/bin/ \
  VERSION=7.8.0

Base automatically changed from copilot/update-thumbor-to-7-8-0 to master June 1, 2026 08:09
Copilot AI changed the title [WIP] Fix code based on review comment in PR #331 Define Thumbor VERSION in runtime stage so image labels resolve correctly Jun 1, 2026
Copilot AI requested a review from bdossantos June 1, 2026 08:12
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