mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-09-24 14:58:35 -04:00
hack: add api module to container during build
This commit is contained in:
parent
d0daf26da7
commit
9bf9326227
1 changed files with 3 additions and 0 deletions
|
@ -11,6 +11,9 @@ RUN wget -q https://go.dev/dl/go${GO_VER}.linux-amd64.tar.gz && \
|
|||
ENV PATH ${PATH}:/usr/local/go/bin
|
||||
|
||||
WORKDIR /qemu-metadata-api
|
||||
# Necessary to make `go mod download all` work while having a local replace rule in the root-go.mod.
|
||||
COPY operators/constellation-node-operator/api/go.mod ./operators/constellation-node-operator/api/go.mod
|
||||
COPY operators/constellation-node-operator/api/go.sum ./operators/constellation-node-operator/api/go.sum
|
||||
COPY go.mod ./
|
||||
COPY go.sum ./
|
||||
RUN go mod download all
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue