mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-04-21 12:16:54 +02:00
copy lazygit directory into docker container
This commit is contained in:
parent
ab81f27fc7
commit
abc0f7f0aa
@ -10,5 +10,6 @@ RUN CGO_ENABLED=0 GOOS=linux go build -o lazygit .
|
|||||||
FROM alpine:latest
|
FROM alpine:latest
|
||||||
RUN apk add -U git xdg-utils
|
RUN apk add -U git xdg-utils
|
||||||
WORKDIR /go/src/github.com/jesseduffield/lazygit/
|
WORKDIR /go/src/github.com/jesseduffield/lazygit/
|
||||||
|
COPY --from=0 /go/src/github.com/jesseduffield/lazygit /go/src/github.com/jesseduffield/lazygit
|
||||||
COPY --from=0 /go/src/github.com/jesseduffield/lazygit/lazygit /bin/
|
COPY --from=0 /go/src/github.com/jesseduffield/lazygit/lazygit /bin/
|
||||||
RUN echo "alias gg=lazygit" >> ~/.profile
|
RUN echo "alias gg=lazygit" >> ~/.profile
|
||||||
|
Loading…
x
Reference in New Issue
Block a user