update other usages of alpine -> sourcegraph/alpine
Created by: slimsag
Move other usages of alpine
to sourcegraph/alpine
. See motivation in https://github.com/sourcegraph/sourcegraph/pull/13234
This does not affect behavior (or user) of the images at all it merely makes it more explicit when and where we are using root
or not.
- Move
cmd/server
to usesourcegraph/alpine
as its base image (but still use aroot
user). This means we don't need to install a number of dependencies which are already installed insourcegraph/alpine
. - Improve documentation in
server
about why we aren't using a non-root user currently and link to tracking issue. - Use
sourcegraph/alpine
in jaeger images (but still not usingsourcegraph
user, using thejaeger
non-root user - which is kinda lame but at least its notroot
.) - Use
sourcegraph/alpine
inresources-report
andtracking-issue
images for consistency and with intent to banalpine
from our codebase entirely in the near future. Also document that these are using aroot
user and that is a security risk (albeit incredibly low given we don't run those images / they run on github actions, but we should still avoid this for posterity sake.)
Helps #13035