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