mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-11 02:52:56 +01:00
Change zoekt-ci-image to be versioned zoekt-ci-image-1.0
Per https://gitlab.com/gitlab-org/gitlab/-/merge_requests/108937#note_1257390002 This renames `zoekt-ci-image` so that we can have a versioned `zoekt-ci-image-1.0`. This will allow us to make changes and bump the version if we end up with breaking changes. This still targets a fork of Zoekt because we're waiting on [1 more PR](https://github.com/sourcegraph/zoekt/pull/496) to be merged before we can target the main repository. At this point we'll change the cloning command and check out a stable SHA or tag from the main repo rather than tracking a branch like this is doing now.
This commit is contained in:
parent
3368a86d26
commit
e718f9a294
2 changed files with 1 additions and 1 deletions
|
|
@ -1,16 +0,0 @@
|
|||
FROM golang:1.19
|
||||
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
RUN apt-get update && apt-get install -y universal-ctags git
|
||||
|
||||
RUN git clone https://github.com/DylanGriffith/zoekt.git
|
||||
RUN cd /usr/src/app/zoekt && git checkout dynamic-indexserver-api && go install github.com/sourcegraph/zoekt/cmd/zoekt-dynamic-indexserver && go install github.com/sourcegraph/zoekt/cmd/zoekt-git-clone && go install github.com/sourcegraph/zoekt/cmd/zoekt-git-index
|
||||
RUN cd /usr/src/app/zoekt && git checkout search-api-with-reposbranches-filter && go install github.com/sourcegraph/zoekt/cmd/zoekt-webserver
|
||||
|
||||
COPY assets/zoekt-ci-image/run-zoekt-servers run-zoekt-servers
|
||||
|
||||
EXPOSE 6060
|
||||
EXPOSE 6070
|
||||
|
||||
CMD ["sh", "run-zoekt-servers"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue