mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-10 07:36:27 -04:00
Added ENTRYPOINT to Dockerfile to jump directly into lazy git while running the docker container
This commit is contained in:
parent
21e478dd59
commit
7b69aa1fda
|
|
@ -1,6 +1,6 @@
|
|||
# run with:
|
||||
# docker build -t lazygit .
|
||||
# docker run -it lazygit:latest /bin/sh -l
|
||||
# docker run -it lazygit:latest /bin/sh
|
||||
|
||||
FROM golang:1.14-alpine3.11
|
||||
WORKDIR /go/src/github.com/jesseduffield/lazygit/
|
||||
|
|
@ -13,3 +13,5 @@ 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/
|
||||
RUN echo "alias gg=lazygit" >> ~/.profile
|
||||
|
||||
ENTRYPOINT [ "lazygit" ]
|
||||
|
|
|
|||
Loading…
Reference in a new issue