Skip to content

Fix TOOLS_JAVA_VERSION export in Dockerfile#296

Open
bact wants to merge 1 commit into
spdx:masterfrom
bact:fix-dockerfile
Open

Fix TOOLS_JAVA_VERSION export in Dockerfile#296
bact wants to merge 1 commit into
spdx:masterfrom
bact:fix-dockerfile

Conversation

@bact

@bact bact commented Jul 16, 2026

Copy link
Copy Markdown
Collaborator
  • In Dockerfile, env vars in one RUN didn't last to another RUN.
    So in our case, TOOLS_JAVA_VERSION is lost and breaks the @@VERSION@@ substitution for the scripts/tools-java-wrapper.sh -- producing tools-java--jar-with-dependencies.jar (missing version, double dash), causing error.
  • Removes no-op source=$PWD on the bind mount.
    $PWD is not a recognized variable in Dockerfile, always empty.
    (No change in behavior, as default is the build context root. Just a cleanup to avoid confusion)

To fix #295

Also remove the no-ops $PWD

Signed-off-by: Arthit Suriyawongkul <arthit@gmail.com>
@bact bact added the bug Something isn't working label Jul 16, 2026
@bact

bact commented Jul 16, 2026

Copy link
Copy Markdown
Collaborator Author

@kzantow please help verify at your convenience. thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Images after 2.0.4 no longer work

1 participant