[node operator] Prepare for packaging as dockerfile and deployment withing k8s

Signed-off-by: Malte Poll <mp@edgeless.systems>
This commit is contained in:
Malte Poll 2022-07-20 10:58:16 +02:00 committed by Malte Poll
parent 2860fe4eec
commit bce83c493b
2 changed files with 19 additions and 1 deletions

View file

@ -13,6 +13,7 @@ RUN go mod download
COPY main.go main.go
COPY api/ api/
COPY controllers/ controllers/
COPY internal/ internal/
# Build
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o manager main.go