sourcegraph/wolfi-images/sourcegraph-base.yaml
Erik Seliger 6b98c253ab
chore: Frontend does not need disk (#64273)
A long time ago, we dropped the requirement for frontend to have any
disk for caching. Our helm deployments use read-only rootFSes, so this
wouldn't even work.

This PR aims to make that clearer by removing some last remnants of
those times.

Test plan: Frontend starts locally and integration tests pass in CI.
2024-08-06 13:22:00 +02:00

36 lines
721 B
YAML

# Base image containing a basic set of packages used by Sourcegraph.
# Designed to be used as a base image for other images with no specific dependencies.
include: ./sourcegraph-template.yaml
contents:
packages:
# Included by existing SG base image
- tini
- mailcap
accounts:
run-as: sourcegraph
groups:
- groupname: sourcegraph
gid: 101
users:
- username: sourcegraph
uid: 100
gid: 101
# Set up directories needed by base images
paths:
# Used by indexed-searcher
- path: /data
type: directory
uid: 100
gid: 101
permissions: 0o755
# Used by indexed-searcher
- path: /data/index
type: directory
uid: 100
gid: 101
permissions: 0o755