mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04:00
Remove go workspace files from dockerfiles
This commit is contained in:
parent
05304d081e
commit
fd3008f5cc
@ -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…
Reference in New Issue
Block a user