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

Configure Feed

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

1FROM golang:1.19.2-alpine3.16 AS builder 2 3RUN apk add --no-cache ca-certificates 4 5ENV CGO_ENABLED=0 GO111MODULE=on 6WORKDIR /go/src/github.com/sourcegraph/zoekt 7 8# Cache dependencies 9COPY go.mod go.sum ./ 10RUN go mod download 11 12COPY . ./ 13ARG VERSION 14RUN go install -ldflags "-X github.com/sourcegraph/zoekt.Version=$VERSION" ./cmd/... 15 16FROM alpine:3.16.2 AS zoekt 17 18RUN apk update --no-cache && apk upgrade --no-cache && \ 19 apk add --no-cache git ca-certificates bind-tools tini jansson wget 20 21COPY install-ctags-alpine.sh . 22RUN ./install-ctags-alpine.sh && rm install-ctags-alpine.sh 23 24COPY --from=builder /go/bin/* /usr/local/bin/ 25 26ENTRYPOINT ["/sbin/tini", "--"]