At the moment we build our Docker containers by copying the rotel binaries built from the Github runner environment into the Docker container. This cuts down on extra build times by only building rotel once, but has some limitations.
- Differences between the runner environment and the Docker environment could cause problems (eg., library version mismatches)
- The assumption that the Dockerfile can be used to get a working rotel container for local dev or as a dev-container is broken.
We should fix the image release process so that Docker images are built correctly and Dockerfile's are reusable for local-dev.
These resources will be helpful:
- Multiple native nodes
- Build across multiple GH runners
At the moment we build our Docker containers by copying the rotel binaries built from the Github runner environment into the Docker container. This cuts down on extra build times by only building rotel once, but has some limitations.
We should fix the image release process so that Docker images are built correctly and Dockerfile's are reusable for local-dev.
These resources will be helpful: