[WIP] lsif: use proper sourcegraph/alpine base image
Created by: slimsag
Prior to this change, lsif-server was not using our sourcegraph/alpine
base
image. Using this base image and not standard alpine
is very important for
three reasons:
- It installs a critical package without which DNS lookups fail in certain deployment contexts.
- It creates a standard
sourcegraph
user with a static UID/GID, which is important fordeploy-sourcegraph-docker
deployment contexts where file permissions must sometimes be set manually on the host. - It unifies the base image of alpine and packages we install across all services, e.g.
tini
.
Additionally, because lsif-server had no user before, it was being ran as root
and all of its files are owned by root
in Kubernetes deployments. I will send a pair change with this one to automatically update the permissions in such clusters.