Skip to content

Commit

Permalink
Dockerfile: add alias
Browse files Browse the repository at this point in the history
  • Loading branch information
remyabel2 authored and jesseduffield committed Dec 9, 2018
1 parent ea6712d commit b95abd9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -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/
Expand All @@ -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

0 comments on commit b95abd9

Please sign in to comment.