Skip to content

Fix using docker specific ignore with read-only build context#1349

Open
JaewonHur wants to merge 3 commits intoapple:mainfrom
JaewonHur:docker-ignore-readonly-context
Open

Fix using docker specific ignore with read-only build context#1349
JaewonHur wants to merge 3 commits intoapple:mainfrom
JaewonHur:docker-ignore-readonly-context

Conversation

@JaewonHur
Copy link
Copy Markdown
Contributor

This PR resolves #1343.
This PR depends on apple/container-builder-shim#72.

Do not create staging directory under build context, but pass dockerignore file bytes to the container-builder-shim.

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update

Motivation and Context

[Why is this change needed?]

Testing

  • Tested locally
  • Added/updated tests
  • Added/updated docs

@github-actions github-actions bot added the cli label Mar 25, 2026

extension Application {
public struct BuildCommand: AsyncLoggableCommand {
private static let hiddenDockerDir = ".com.apple.container.dockerfiles"
Copy link
Copy Markdown
Contributor

@saehejkang saehejkang Apr 16, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can be removed, as it is no longer being used

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants