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

Configure Feed

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

Add scip-ctags to docker (#594)

* Add scip-ctags to docker

* musl-ify

* Hardcode commit

* Pin dockerfile git commit

* Use archive

* Bump commit

+16
+15
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.17 AS rust-builder 17 + 18 + RUN apk update --no-cache && apk upgrade --no-cache && \ 19 + apk add --no-cache git wget musl-dev>=1.1.24-r10 build-base 20 + 21 + RUN wget -qO- https://github.com/sourcegraph/sourcegraph/archive/0c8aa18eece45922a2b56dc0f94e21b1bb533e7d.tar.gz | tar xz && mv sourcegraph-* sourcegraph 22 + 23 + ARG TARGETARCH 24 + 25 + # Because .cargo/config.toml doesnt support triplet-specific env 26 + RUN cd sourcegraph/docker-images/syntax-highlighter && /sourcegraph/cmd/symbols/cargo-config.sh && cd / 27 + 28 + RUN cargo install --path sourcegraph/docker-images/syntax-highlighter --root /syntect_server --bin scip-ctags 29 + 16 30 FROM alpine:3.17.3 AS zoekt 17 31 18 32 RUN apk update --no-cache && apk upgrade --no-cache && \ ··· 22 36 RUN ./install-ctags-alpine.sh && rm install-ctags-alpine.sh 23 37 24 38 COPY --from=builder /go/bin/* /usr/local/bin/ 39 + COPY --from=rust-builder /syntect_server/bin/scip-ctags /usr/local/bin/scip-ctags 25 40 26 41 ENTRYPOINT ["/sbin/tini", "--"]
+1
Dockerfile.indexserver
··· 15 15 16 16 COPY --from=zoekt \ 17 17 /usr/local/bin/universal-* \ 18 + /usr/local/bin/scip-ctags \ 18 19 /usr/local/bin/zoekt-sourcegraph-indexserver \ 19 20 /usr/local/bin/zoekt-archive-index \ 20 21 /usr/local/bin/zoekt-git-index \