Skip to content

Fix the Docker build's dependency version mismatch - #3

Merged
Ughuuu merged 1 commit into
mainfrom
dependency-mismatch
Sep 27, 2026
Merged

Ughuuu merged 1 commit into
mainfrom
dependency-mismatch

Conversation

@Ughuuu

@Ughuuu Ughuuu commented Sep 27, 2026 •

Copy link
Copy Markdown
Contributor

Stop setting GAMEND_CONTENT_APP_VERSION in the Docker build, which made gamend_core/gamend_web compile as 1.0.0 and fail the >= 1.0.1266 requirement.

gamend's mix.exs reads GAMEND_CONTENT_APP_VERSION as its own package
version. The Dockerfile exported it as 1.0.0 for every RUN, so
gamend_core and gamend_web compiled as 1.0.0 and the >= 1.0.1266 floor
added in abe80ed rejected them at `mix compile` ("Unchecked
dependencies ... got 1.0.0").

The image no longer sets it. Unset, the API spec falls back to the same
1.0.0 it reported before; set it at runtime to change that.
@Ughuuu
Ughuuu merged commit 182f1e2 into main Sep 27, 2026
8 checks passed
@Ughuuu
Ughuuu deleted the dependency-mismatch branch September 27, 2026 11:04
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