From 86e1eaea972447eb73a056a39862ff7f9b68d355 Mon Sep 17 00:00:00 2001 From: Lan Liang Date: Sun, 7 Apr 2024 14:35:00 +0000 Subject: [PATCH] update --- Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index be28cfc042..09c5778ea3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,11 +13,10 @@ COPY main.go main.go COPY apis/ apis/ COPY cmd/ cmd/ COPY pkg/ pkg/ -COPY vendor/ vendor/ # Build -RUN CGO_ENABLED=0 GO111MODULE=on go build -mod=vendor -a -o manager main.go \ - && CGO_ENABLED=0 GO111MODULE=on go build -mod=vendor -a -o daemon ./cmd/daemon/main.go +RUN CGO_ENABLED=0 GO111MODULE=on go build -a -o manager main.go \ + && CGO_ENABLED=0 GO111MODULE=on go build -a -o daemon ./cmd/daemon/main.go ARG BASE_IMAGE ARG BASE_IMAGE_VERSION