Skip to content

Fix Docker build by using correct imgsort binary name#88

Merged
notheotherben merged 1 commit into
mainfrom
claude/funny-archimedes-mvuqt2
Jun 20, 2026
Merged

Fix Docker build by using correct imgsort binary name#88
notheotherben merged 1 commit into
mainfrom
claude/funny-archimedes-mvuqt2

Conversation

@notheotherben

Copy link
Copy Markdown
Member

Problem

The Docker build was failing because the Dockerfile still referenced the github-backup binary — leftover from when it was copied out of the github-backup project.

The docker-build job in .github/workflows/rust.yml builds and uploads an artifact named imgsort, downloads it into the build context, and marks ./imgsort executable. But the Dockerfile then tried to ADD ./github-backup, a file that doesn't exist in the context, so the build failed.

Changes

  • Dockerfile: package ./imgsort instead of ./github-backup and use it as the entrypoint.
  • Dockerfile: fix the leftover org.opencontainers.image.source and org.opencontainers.image.description labels (and the header comment) to describe imgsort.
  • .github/workflows/rust.yml: fix the matching annotation-index.org.opencontainers.image.description that also carried the old github-backup description.

🤖 Generated with Claude Code

https://claude.ai/code/session_01FfLsHiJZK8LDnUBtJy7WX6


Generated by Claude Code

The Dockerfile was copied from the github-backup project and still
referenced the github-backup binary, which doesn't exist in the build
context. CI builds and uploads an artifact named imgsort, so the
Docker build failed when ADDing ./github-backup.

Update the Dockerfile to package the imgsort binary, and fix the
leftover image source/description metadata (both in the Dockerfile
labels and the workflow's index annotation) to describe imgsort.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FfLsHiJZK8LDnUBtJy7WX6
@notheotherben notheotherben merged commit 15ad589 into main Jun 20, 2026
14 checks passed
@notheotherben notheotherben deleted the claude/funny-archimedes-mvuqt2 branch June 20, 2026 21:50
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