apple / apple/container

[Request]: Show warning instead of failing for unsupported platforms

Open
#306 1 comment 0 reactions 1 assignee Claimed by @jglogan View on GitHub
Dominant language
Swift
Stars
49.9k
Forks
1.8k
Avg merge
1d 20h
Merged PRs (30d)
22

Description

### Feature or enhancement request details

Currently container build will just stop if it sees an unsupported platform, i wish this was just a warning or at least somewhere configurable by file or environmental variable, so i dont have to add `--arch amd64` to everything.

Current:
```
❯ container build -t test:test .
[+] Building 0.0s (0/1)
=> [resolver] fetching image...internal.cr/internal/base 0.0s
Error: unsupported: "Platform linux/arm64/v8"
```
Expected:
```
❯ container build -t test:test .
[+] Building 0.0s (0/1)
=> [resolver] fetching image...internal.cr/internal/base 0.0s
WARN: unsupported: "Platform linux/arm64/v8"
[…]
```

### Code of Conduct

- [x] I agree to follow this project's Code of Conduct

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.