fix: expose kotlinc through feature container environment - #75
Merged
Merged
Conversation
2 tasks
mikaello
force-pushed
the
fix-kotlinc-container-path
branch
from
September 24, 2026 11:59
cf21580 to
12b7060
Compare
mikaello
enabled auto-merge (squash)
September 24, 2026 11:59
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Change
Expose
/opt/kotlinc/binthrough the Feature'scontainerEnv.PATHsokotlincworks in interactive and noninteractive processes.Use ktlint's canonical release URL and keep installer progress messages.
The installer writes only to
/optand/usr/local/bin; its formerUSERNAMElookup did not affect installation or ownership.The feature-starter installer confirms that installation runs as root and documents
_REMOTE_USERand_CONTAINER_USERfor features that need the final user.This feature does not need those variables.
Validation
bash -n src/kotlinc/install.sh test/kotlinc/test.shjq empty src/kotlinc/devcontainer-feature.jsonRelated PRs
PR #67 changes
installsAfterfromcommon-utils:1to:2in the same metadata file.I verified that Git combines #67 and this PR cleanly; the result retains both the new
containerEnv.PATHandcommon-utils:2.They can merge in either order without stacking.
PR #66 changes installer checks that this PR's simpler installer no longer uses.