fork of https://github.com/sourcegraph/zoekt
0

Configure Feed

Select the types of activity you want to include in your feed.

1FROM alpine:3.19 2 3RUN apk add --no-cache ca-certificates bind-tools tini git jansson 4 5# Run as non-root user sourcegraph. External volumes should be mounted under /data (which will be owned by sourcegraph). 6RUN mkdir -p /home/sourcegraph 7RUN addgroup -S sourcegraph && adduser -S -G sourcegraph -h /home/sourcegraph sourcegraph && mkdir -p /data && chown -R sourcegraph:sourcegraph /data 8USER sourcegraph 9WORKDIR /home/sourcegraph 10 11ENV SRC_FRONTEND_INTERNAL http://sourcegraph-frontend-internal 12ENV DATA_DIR /data/index 13RUN mkdir -p ${DATA_DIR} 14 15COPY --from=zoekt \ 16 /usr/local/bin/universal-* \ 17 /usr/local/bin/scip-ctags \ 18 /usr/local/bin/zoekt-sourcegraph-indexserver \ 19 /usr/local/bin/zoekt-archive-index \ 20 /usr/local/bin/zoekt-git-index \ 21 /usr/local/bin/zoekt-merge-index \ 22 /usr/local/bin/ 23 24ENTRYPOINT ["/sbin/tini", "--", "zoekt-sourcegraph-indexserver"]