Skip to content

Conversation

@dcantah
Copy link
Contributor

@dcantah dcantah commented Oct 27, 2025

Closes #782 #99

If a Dockerfile can't be found in the context dir, check for the common alternative Containerfile. This does not implement .containerignore also, solely Containerfile for now. This also funnily enough fixes us not checking for the Dockerfile IN the context directory.. woops.

Type of Change

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

Testing

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

If a Dockerfile can't be found in the context dir, check for
Containerfile. This does not implement .containerignore also,
solely Containerfile for now. This also funnily enough fixes us
not checking for the Dockerfile IN the context directory.. woops.
@jglogan jglogan merged commit 9f8a0fb into apple:main Oct 27, 2025
2 checks passed
@dcantah dcantah mentioned this pull request Oct 27, 2025
saehejkang pushed a commit to saehejkang/container that referenced this pull request Oct 28, 2025
Closes apple#782 apple#99

If a Dockerfile can't be found in the context dir, check for the common
alternative Containerfile. This does not implement .containerignore
also, solely Containerfile for now. This also funnily enough fixes us
not checking for the Dockerfile IN the context directory.. woops.

## Type of Change
- [x] Bug fix
- [x] New feature  
- [ ] Breaking change
- [ ] Documentation update

## Testing
- [x] Tested locally
- [x] Added/updated tests
- [x] Added/updated docs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: container build not using context-dir

2 participants