Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: --platform or --push not supported w/dockerComposeFile #404

Open
metaskills opened this issue Feb 9, 2023 · 0 comments
Open

Error: --platform or --push not supported w/dockerComposeFile #404

metaskills opened this issue Feb 9, 2023 · 0 comments
Labels
feature-request New feature or request

Comments

@metaskills
Copy link

I noticed that the ci project now supports a platform option with the following work devcontainers/ci#175 However, it breaks for me when I use this with dockerComposeFile. I can reproduce this locally too with the CLI.

(kencollins) - (~/Repositories/lamby-citest) 💎 3.1.3 🔄 main
> devcontainer build --workspace-folder . --image-name test --platform linux/amd64
[16 ms] @devcontainers/cli 0.29.0. Node.js v18.11.0. darwin 21.6.0 x64.
Error: --platform or --push not supported.
    at uoe (/Users/kencollins/.nodenv/versions/18.11.0/lib/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:2045:27034)
    at async aoe (/Users/kencollins/.nodenv/versions/18.11.0/lib/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:2045:25017)
{"outcome":"error","message":"--platform or --push not supported.","description":"--platform or --push not supported."}

Is this an oversight on behalf of the following work where some error handling needs to be removed?

I tracked the error to the following location in the code. Thoughts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants