tensorchord/envd

feat: Support a new CLI flag `--platform`

gaocegege opened this issue · 0 comments

Describe the feature

Currently, we will use the platform ("amd64, aarch64") and hard coded system "linux" to run the envd build and up commands.

It does not work with the envd context well.

For example, if the context is a remote builder tcp://xxx, the platform of the builder may be different from the machine running envd up or envd build.

Thus we should have a new CLI flag to let users specify the platform. If it is not set, we still use the default platform.

Why do you need this feature?

#1577 (comment)

Additional context

We should revert this commit ad73e37