Skip to content

Docker image build fails: Dockerfile uses golang:1.24.0-alpine, but go.mod requires Go 1.25.0 #767

Closed

Description

@dwisiswant0

Proxify version:

dev (latest release: v0.0.16)

Current Behavior:

The next release will not publish a Docker image. The Dockerfile builds with golang:1.24.0-alpine, but go.mod on dev requires Go 1.25.0, so the build fails at go mod download. The official golang images set GOTOOLCHAIN=local, so Go does not download the newer toolchain that go.mod requires.

The v0.0.16 image on Docker Hub is current; this affects the next release.

Expected Behavior:

The Dockerfile builds the code on dev, so the next release publishes an image.

Steps To Reproduce:

Run the Dockerfile's go mod download step from the repository root:

$ docker run --rm -v "$PWD":/app -w /app golang:1.24.0-alpine go mod download
go: go.mod requires go >= 1.25.0 (running go 1.24.0; GOTOOLCHAIN=local)

Anything else:

Publishing the image with GoReleaser, proposed in #766, fixes this: the image then copies the release binary instead of compiling it.

Activity

  1. added
    Type: BugInconsistencies or issues which will cause an issue or problem for users or implementors.
    on Oct 7, 2026
  2. self-assigned this
    on Oct 7, 2026
  3. added a commit that references this issue on Oct 8, 2026
    03c4f4f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type: BugInconsistencies or issues which will cause an issue or problem for users or implementors.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions