diff options
-rw-r--r-- | Dockerfile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile index 10ed10b2c..aec4ff2a0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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" ] |