We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 92513ad commit 2929414Copy full SHA for 2929414
Dockerfile
@@ -105,6 +105,12 @@ RUN --mount=type=cache,target=/go/pkg/mod \
105
--mount=type=cache,target=/root/.cache/go-build \
106
CGO_ENABLED=1 go build -ldflags "${GO_LDFLAGS}" -o ${BIN_DIR}/doublezero-ai-slack-bot tools/dz-ai/cmd/slack-bot/main.go
107
108
+# Build lake-indexer (golang)
109
+RUN --mount=type=cache,target=/go/pkg/mod \
110
+ --mount=type=cache,target=/root/.cache/go-build \
111
+ CGO_ENABLED=1 go build -ldflags "${GO_LDFLAGS}" -o ${BIN_DIR}/doublezero-lake-indexer tools/dz-ai/cmd/data-indexer/main.go
112
+
113
114
# Force COPY in later stages to always copy the binaries, even if they appear to be the same.
115
ARG CACHE_BUSTER=1
116
RUN echo "$CACHE_BUSTER" > ${BIN_DIR}/.cache-buster && \
0 commit comments