summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2019-03-02 20:56:32 +1100
committerJesse Duffield <jessedduffield@gmail.com>2019-03-02 21:31:48 +1100
commitabc0f7f0aa8966e9e046a4b177464f75f95afc99 (patch)
tree023ca8cdc0d50e6364c748f884eb56ef69aed185
parentab81f27fc792bccd630189f0f08721d1d1231f54 (diff)
copy lazygit directory into docker container
-rw-r--r--Dockerfile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
index 97c518ab3..9d46fcb6a 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -10,5 +10,6 @@ RUN CGO_ENABLED=0 GOOS=linux go build -o lazygit .
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 /go/src/github.com/jesseduffield/lazygit
COPY --from=0 /go/src/github.com/jesseduffield/lazygit/lazygit /bin/
RUN echo "alias gg=lazygit" >> ~/.profile