summaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorTommy Nguyen <remyabel@gmail.com>2018-12-05 17:53:36 -0500
committerJesse Duffield <jessedduffield@gmail.com>2018-12-09 16:36:12 +1100
commitb95abd95ef249e506c175c25deb220f72103aaf3 (patch)
tree74e1a6d2b37b5bf22289970d1fb9333cf71339da /Dockerfile
parentea6712dec862d8e5d4b7c8731409355a33e208fd (diff)
Dockerfile: add alias
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index 901ba1842..97c518ab3 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,6 +1,6 @@
# run with:
# docker build -t lazygit .
-# docker run -it lazygit:latest
+# docker run -it lazygit:latest /bin/sh -l
FROM golang:alpine
WORKDIR /go/src/github.com/jesseduffield/lazygit/
@@ -11,3 +11,4 @@ FROM alpine:latest
RUN apk add -U git xdg-utils
WORKDIR /go/src/github.com/jesseduffield/lazygit/
COPY --from=0 /go/src/github.com/jesseduffield/lazygit/lazygit /bin/
+RUN echo "alias gg=lazygit" >> ~/.profile