mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-04-21 12:16:54 +02:00
Dockerfile: add alias
This commit is contained in:
parent
ea6712dec8
commit
b95abd95ef
@ -1,6 +1,6 @@
|
|||||||
# run with:
|
# run with:
|
||||||
# docker build -t lazygit .
|
# docker build -t lazygit .
|
||||||
# docker run -it lazygit:latest
|
# docker run -it lazygit:latest /bin/sh -l
|
||||||
|
|
||||||
FROM golang:alpine
|
FROM golang:alpine
|
||||||
WORKDIR /go/src/github.com/jesseduffield/lazygit/
|
WORKDIR /go/src/github.com/jesseduffield/lazygit/
|
||||||
@ -11,3 +11,4 @@ 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/lazygit /bin/
|
COPY --from=0 /go/src/github.com/jesseduffield/lazygit/lazygit /bin/
|
||||||
|
RUN echo "alias gg=lazygit" >> ~/.profile
|
||||||
|
Loading…
x
Reference in New Issue
Block a user