mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 17:31:43 +00:00
* Revert build base images * Revert 'MANUAL REBUILD' comment in image configs * sg wolfi lock
42 lines
841 B
YAML
42 lines
841 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 frontend
|
|
- path: /mnt/cache/frontend
|
|
type: directory
|
|
uid: 100
|
|
gid: 101
|
|
permissions: 0o755
|
|
# 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
|