feat(container): add Swift and Kotlin language ecosystem support#19
Merged
matthew-on-git merged 7 commits intomainfrom Mar 25, 2026
Merged
feat(container): add Swift and Kotlin language ecosystem support#19matthew-on-git merged 7 commits intomainfrom
matthew-on-git merged 7 commits intomainfrom
Conversation
All trivy-action tags before 0.35.0 were force-pushed to malicious commits during March 19-20 2026 (aquasecurity/trivy-action#541). Pin to SHA 57a97c7 (v0.35.0) which was not compromised. Our CI runs on March 19 completed at ~04:58 UTC, before the attack window (~17:43 UTC), so no secrets were exposed. This is a preventive fix. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add Swift toolchain (SwiftLint, swift-format, swift test) and Kotlin toolchain (ktlint, detekt, Gradle, JDK 21) to the dev-toolchain container with full Makefile target support for lint, format, fix, test, and security. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…scripts Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…ookworm) eclipse-temurin images are Ubuntu-based; the bookworm variant does not exist. Using the default 21-jdk tag since we only COPY the JDK directory. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…riant) Swift official images do not have a -slim variant. Use swift:6.1-bookworm as the builder stage. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
swift-format has no pre-built Linux binaries on GitHub releases. Build from source (v602.0.0) in the swift-builder stage and COPY the binary to runtime, matching the pattern used for Go tools. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.
Summary
swift:6.1-slim-bookworm,eclipse-temurin:21-jdk-bookwormTest plan
docker build -t dev-toolchain:test .docker run --rm dev-toolchain:test bash tests/test-swift.shdocker run --rm dev-toolchain:test bash tests/test-kotlin.shswiftto.devrail.yml, runmake checkkotlinto.devrail.yml, runmake check🤖 Generated with Claude Code