mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-01 22:06:06 -04:00
Remove go workspace files from dockerfiles
This commit is contained in:
parent
05304d081e
commit
fd3008f5cc
2 changed files with 2 additions and 5 deletions
|
@ -15,14 +15,11 @@ ENV PATH ${PATH}:/usr/local/go/bin
|
|||
WORKDIR /constellation/
|
||||
COPY go.mod ./
|
||||
COPY go.sum ./
|
||||
COPY go.work ./
|
||||
COPY go.work.sum ./
|
||||
COPY hack/go.mod ./hack/go.mod
|
||||
COPY hack/go.sum ./hack/go.sum
|
||||
RUN go mod download all
|
||||
|
||||
# Copy Repo
|
||||
COPY . /constellation
|
||||
RUN rm -rf ./hack/
|
||||
|
||||
FROM build AS build-coordinator
|
||||
WORKDIR /constellation/coordinator/
|
||||
|
|
|
@ -17,7 +17,7 @@ RUN go mod download all
|
|||
|
||||
# Copy Repo
|
||||
COPY . /constellation
|
||||
RUN rm -rf ./hack/ go.work.sum go.work
|
||||
RUN rm -rf ./hack/
|
||||
|
||||
# Build
|
||||
RUN mkdir -p /constellation/build
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue