mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-02-25 18:55:28 -06:00
Remove -a -installsuffix; copy to /bin/
This commit is contained in:
parent
de37a66ef3
commit
ea6712dec8
@ -5,10 +5,9 @@
|
||||
FROM golang:alpine
|
||||
WORKDIR /go/src/github.com/jesseduffield/lazygit/
|
||||
COPY ./ .
|
||||
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o lazygit .
|
||||
RUN CGO_ENABLED=0 GOOS=linux go build -o lazygit .
|
||||
|
||||
FROM alpine:latest
|
||||
RUN apk add -U git xdg-utils
|
||||
WORKDIR /root/
|
||||
COPY --from=0 /go/src/github.com/jesseduffield/lazygit/lazygit .
|
||||
CMD ["./lazygit"]
|
||||
WORKDIR /go/src/github.com/jesseduffield/lazygit/
|
||||
COPY --from=0 /go/src/github.com/jesseduffield/lazygit/lazygit /bin/
|
||||
|
Loading…
Reference in New Issue
Block a user