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 bf47831 commit 46b8919
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@ RUN apk add --no-cache git
WORKDIR /workspace

COPY . .
ARG VERSION

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"]
COPY --from=build /workspace/vultr-cloud-controller-manager /usr/local/bin/vultr-cloud-controller-manager
ENTRYPOINT ["vultr-cloud-controller-manager"]
2 changes: 1 addition & 1 deletion Dockerfile.goreleaser
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ FROM alpine:3.12

RUN apk add --no-cache ca-certificates
COPY vultr-cloud-controller-manager .
ENTRYPOINT ["/vultr-cloud-controller-manager"]
ENTRYPOINT ["./vultr-cloud-controller-manager"]

0 comments on commit 46b8919

Please sign in to comment.