[PR #143] [MERGED] fix(cli): parse Dockerfiles with parse-dockerfile #206

Closed
opened 2026-10-29 14:20:59 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/kvcache-ai/AgentENV/pull/143
Author: @yingdi-shan
Created: 8/8/2026
Status: ✅ Merged
Merged: 8/10/2026
Merged by: @yingdi-shan

Base: main ← Head: fix/aenv-dockerfile-parser


📝 Commits (2)

  • 852b4dc fix(cli): parse Dockerfiles with parse-dockerfile
  • 4d2a953 fix(cli): align build template naming

📊 Changes

5 files changed (+294 additions, -88 deletions)

View changed files

📝 Cargo.lock (+10 -0)
📝 crates/aenv/Cargo.toml (+1 -0)
📝 crates/aenv/src/commands/build.rs (+274 -78)
📝 docs/src/concepts/templates.md (+5 -5)
📝 docs/src/getting-started/aenv-cli.md (+4 -5)

📄 Description

Summary

  • replace the line-based aenv Dockerfile parser with parse-dockerfile
  • support multiline RUN instructions and custom escape directives
  • lower shell, exec-form, bare heredoc, and explicit-command heredoc RUN instructions
  • ignore legacy MAINTAINER metadata while preserving existing unsupported-instruction behavior
  • add focused regression coverage for parser directives, multiline commands, and heredocs

Testing

  • cargo test -p aenv
  • cargo clippy -p aenv -- -D warnings
  • cargo fmt --all -- --check
  • git diff --check

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/kvcache-ai/AgentENV/pull/143 **Author:** [@yingdi-shan](https://github.com/yingdi-shan) **Created:** 8/8/2026 **Status:** ✅ Merged **Merged:** 8/10/2026 **Merged by:** [@yingdi-shan](https://github.com/yingdi-shan) **Base:** `main` ← **Head:** `fix/aenv-dockerfile-parser` --- ### 📝 Commits (2) - [`852b4dc`](https://github.com/kvcache-ai/AgentENV/commit/852b4dc3934bfa5f4b9d50f68317ef8276ddb8cc) fix(cli): parse Dockerfiles with parse-dockerfile - [`4d2a953`](https://github.com/kvcache-ai/AgentENV/commit/4d2a953666566cf6f842d0b12fc4a667b140200e) fix(cli): align build template naming ### 📊 Changes **5 files changed** (+294 additions, -88 deletions) <details> <summary>View changed files</summary> 📝 `Cargo.lock` (+10 -0) 📝 `crates/aenv/Cargo.toml` (+1 -0) 📝 `crates/aenv/src/commands/build.rs` (+274 -78) 📝 `docs/src/concepts/templates.md` (+5 -5) 📝 `docs/src/getting-started/aenv-cli.md` (+4 -5) </details> ### 📄 Description ## Summary - replace the line-based aenv Dockerfile parser with parse-dockerfile - support multiline RUN instructions and custom escape directives - lower shell, exec-form, bare heredoc, and explicit-command heredoc RUN instructions - ignore legacy MAINTAINER metadata while preserving existing unsupported-instruction behavior - add focused regression coverage for parser directives, multiline commands, and heredocs ## Testing - `cargo test -p aenv` - `cargo clippy -p aenv -- -D warnings` - `cargo fmt --all -- --check` - `git diff --check` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-29 14:20:59 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
kvcache-ai/AgentENV#206
No description provided.