Any thoughts on how we can determine the Platform ...
# development
h
Any thoughts on how we can determine the Platform for remote execution? This seems complicated by the idea that they can run Docker containers
I found this TODO:
Copy code
// TODO if we ever want to configure the remote platform to be something else we
          // need to take an option all the way down here and into the remote::CommandRunner struct.
          Platform::Linux_x86_64,
This seems complicated by the idea that they can run Docker containers
I think it's theoretically possible for your RE env to be linux x86, but you use a Docker image for arm64, for example?
The simplest solution is to do what we did for
docker_environment
, have a
platform
field. I'm not sure if linux x86 is a reasonable default, or it should be a required field
f
linux/x86 is a reasonable default. the three major remote execution projects only run on Linux.
👍 1
w
similar to docker: hardcode it for now.
er… require users to set it***
h
k, so: field with a default to linux/x86