Skip to content
Snippets Groups Projects
Verified Commit 5fb4dc4c authored by cyrinux's avatar cyrinux :construction_worker_tone1:
Browse files

fix: static build

parent 2b0136ce
No related branches found
No related tags found
No related merge requests found
Pipeline #33233 passed
......@@ -3,7 +3,7 @@ WORKDIR /usr/src/app
COPY go.mod go.sum ./
RUN go mod download && go mod verify
COPY . .
RUN make build \
RUN CGO_ENABLED=0 make build \
&& mv bin/manager /manager_amd64 \
&& ln -s /manager_amd64 /manager
ENTRYPOINT ["/manager"]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment