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

Configure Feed

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

docker: remove scip-ctags from Dockerfile (#802)

This is an optional dependency that I don't believe OSS users of docker
use. We used to use these dockerfiles in Sourcegraph, but have since
moved to building it in our own CI with scip-ctags.

Test Plan: built locally

docker build -t zoekt .
docker build -t zoekt-indexserver . -f Dockerfile.indexserver
docker build -t zoekt-webserver . -f Dockerfile.webserver

-15
-14
Dockerfile
··· 13 13 ARG VERSION 14 14 RUN go install -ldflags "-X github.com/sourcegraph/zoekt.Version=$VERSION" ./cmd/... 15 15 16 - FROM rust:alpine3.19 AS rust-builder 17 - 18 - RUN apk add --no-cache git wget musl-dev build-base 19 - 20 - RUN wget -qO- https://github.com/sourcegraph/sourcegraph/archive/0c8aa18eece45922a2b56dc0f94e21b1bb533e7d.tar.gz | tar xz && mv sourcegraph-* sourcegraph 21 - 22 - ARG TARGETARCH 23 - 24 - # Because .cargo/config.toml doesnt support triplet-specific env 25 - RUN cd sourcegraph/docker-images/syntax-highlighter && /sourcegraph/cmd/symbols/cargo-config.sh && cd / 26 - 27 - RUN cargo install --path sourcegraph/docker-images/syntax-highlighter --root /syntect_server --bin scip-ctags 28 - 29 16 FROM alpine:3.19 AS zoekt 30 17 31 18 RUN apk add --no-cache git ca-certificates bind-tools tini jansson wget ··· 34 21 RUN ./install-ctags-alpine.sh && rm install-ctags-alpine.sh 35 22 36 23 COPY --from=builder /go/bin/* /usr/local/bin/ 37 - COPY --from=rust-builder /syntect_server/bin/scip-ctags /usr/local/bin/scip-ctags 38 24 39 25 ENTRYPOINT ["/sbin/tini", "--"]
-1
Dockerfile.indexserver
··· 14 14 15 15 COPY --from=zoekt \ 16 16 /usr/local/bin/universal-* \ 17 - /usr/local/bin/scip-ctags \ 18 17 /usr/local/bin/zoekt-sourcegraph-indexserver \ 19 18 /usr/local/bin/zoekt-archive-index \ 20 19 /usr/local/bin/zoekt-git-index \