mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 19:51:50 +00:00
This PR addresses feedback on the binary install mode: It's very hard to acquire the executor VM image today, as you need to dig into our `install.sh` script for the executor cloud images to figure out HOW to build and import it into ignite, get the contents of the dockerfile and ambient files like `autologin.conf`, and then repeat that process every time they upgrade, and if we change paths adjust all their scripts. So this PR changes this by publishing a new image called `sourcegraph/executor-vm` (more generic in case we ever switch away from ignite or ubuntu) to docker hub. The executor will also by default use the image on docker hub that was built for the exact executor version. So next time they use a different binary, ignite would just import the image automatically. Of course they can still do preheating like we do in our VMs, but it's not necessary. |
||
|---|---|---|
| .. | ||
| autologin.conf | ||
| build.sh | ||
| Dockerfile | ||
| README.md | ||
sourcegraph/executor-vm
We produce a version of Ubuntu 20.04 (Focal Fossa), losely inspired by weaveworks/ignite-ubuntu:20.04-amd64 that contains additional dependencies and config tweaks for the Sourcegraph executor fircracker VMs.
This image serves as the base image for Firecracker virtual machines in which we run user configured containers and code.