Skip to content

Commit

Permalink
Merge pull request #39 from k-kinzal/fixes-dockerfile
Browse files Browse the repository at this point in the history
fixes dockerfile for goreleaser
  • Loading branch information
k-kinzal authored Dec 5, 2023
2 parents 0db50ce + 0a33a4f commit b3cbb6a
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,16 +1,6 @@
FROM golang:1.21 as builder

ENV GOOS=linux
ENV GOARCH=amd64

WORKDIR /go/src/github.com/k-kinzal/pr
COPY . /go/src/github.com/k-kinzal/pr

RUN make build

FROM buildpack-deps:scm

COPY --from=builder /go/src/github.com/k-kinzal/pr/dist/linux-amd64/pr /usr/local/bin/pr
COPY pr /usr/local/bin/pr

ENTRYPOINT ["/usr/local/bin/pr"]
CMD ["--help"]

0 comments on commit b3cbb6a

Please sign in to comment.