gitlab-build-images/Dockerfile.zoekt-ci-image-1.0
Dylan Griffith 6e7039e976 Change zoekt-ci-image to main repo using SHA
We choose a SHA here as this repo does not contain any useable tags and
it does not seem that they keep tagged versions. Tracking master would
probably be too risky as backwards incompatible changes could come up
and break our CI environment which would be quite time consuming to
debug.
2023-02-06 13:11:04 +11:00

19 lines
625 B
Docker

FROM golang:1.19
WORKDIR /usr/src/app
RUN apt-get update && apt-get install -y universal-ctags git
ENV ZOEKT_VERSION=c08faec66fc26a41007b2176fbea86c52b0efe4b
RUN go install github.com/sourcegraph/zoekt/cmd/zoekt-webserver@$ZOEKT_VERSION && \
go install github.com/sourcegraph/zoekt/cmd/zoekt-git-clone@$ZOEKT_VERSION && \
go install github.com/sourcegraph/zoekt/cmd/zoekt-git-index@$ZOEKT_VERSION && \
go install github.com/sourcegraph/zoekt/cmd/zoekt-dynamic-indexserver@$ZOEKT_VERSION
COPY assets/zoekt-ci-image/run-zoekt-servers run-zoekt-servers
EXPOSE 6060
EXPOSE 6070
CMD ["sh", "run-zoekt-servers"]