Commit 7037ac15 by Uladzislau Committed by GitHub

fix(docker): add relaykit go.mod to dev build context (#7072)

parent ac381acf
...@@ -12,6 +12,9 @@ ENV GOEXPERIMENT=greenteagc ...@@ -12,6 +12,9 @@ ENV GOEXPERIMENT=greenteagc
WORKDIR /build WORKDIR /build
ADD go.mod go.sum ./ ADD go.mod go.sum ./
# relaykit is a local submodule referenced via replace; its go.mod must be
# present for go mod download to resolve the main module graph.
ADD relaykit/go.mod ./relaykit/go.mod
RUN go mod download RUN go mod download
COPY . . COPY . .
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment