Skip to content

Commit

Permalink
Release v0.7.0 #minor
Browse files Browse the repository at this point in the history
  • Loading branch information
happytreees committed Oct 4, 2022
1 parent bb44542 commit bf47831
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ WORKDIR /workspace

COPY . .

RUN CGO_ENABLED=0 go build -trimpath -o vultr-cloud-controller-manager .
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -trimpath -ldflags "-s -w -X main.version=$VERSION" -o vultr-cloud-controller-manager .

FROM alpine:latest
RUN apk add --no-cache ca-certificates

COPY --from=build /workspace/vultr-cloud-controller-manager /
ENTRYPOINT ["/vultr-cloud-controller-manager"]
ENTRYPOINT ["/vultr-cloud-controller-manager"]

0 comments on commit bf47831

Please sign in to comment.