Skip to content

chore: drop legacy Dockerfile, rename Dockerfile.goreleaser to Dockerfile#57

Merged
daichirata merged 1 commit into
masterfrom
chore/unify-dockerfile
May 21, 2026
Merged

chore: drop legacy Dockerfile, rename Dockerfile.goreleaser to Dockerfile#57
daichirata merged 1 commit into
masterfrom
chore/unify-dockerfile

Conversation

@daichirata

Copy link
Copy Markdown
Owner

Summary

The repo carried two Dockerfiles. This PR consolidates them.

Before After
`Dockerfile` — multi-stage debian builder that `wget`s the v0.4.2 release tarball into a distroless final stage. Amd64-only, version pinned to a very old release. (deleted)
`Dockerfile.goreleaser` — four-line distroless image used by the release pipeline. renamed to `Dockerfile`

The legacy build approach is fully covered by the multi-arch images published to `ghcr.io/daichirata/gcsproxy` on every release (#44), so the standalone download-and-package Dockerfile no longer pays for itself.

`.goreleaser.yml` references updated accordingly. `goreleaser check` still passes.

Test plan

  • `goreleaser check` passes
  • Final `Dockerfile` is the same four-line distroless image goreleaser was already using
  • CI green on this PR

🤖 Generated with Claude Code

…file

The repo carried two Dockerfiles:
- Dockerfile: a multi-stage debian-builder image that wgets the v0.4.2
  release tarball and unpacks it into a distroless final stage. The
  approach is largely obsolete now that multi-arch images are
  published to ghcr.io on every release (#44), the version is pinned
  to a very old release, and the download URL is amd64-only.
- Dockerfile.goreleaser: the four-line distroless image used by the
  release pipeline.

Remove the legacy file and rename the goreleaser one to plain
Dockerfile, updating the .goreleaser.yml references accordingly.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@daichirata daichirata merged commit 6876aa8 into master May 21, 2026
1 check passed
@daichirata daichirata deleted the chore/unify-dockerfile branch May 21, 2026 12:52
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.

1 participant