summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2018-09-04 19:03:35 +1000
committerJesse Duffield <jessedduffield@gmail.com>2018-09-04 22:19:08 +1000
commit6c1d133315bf47897c128a11d6ae0416ac1ea2c0 (patch)
tree30a8a6bb8f9a97a9e88c94d7a61fd7309d2c27ac
parent8fbb3aea4f047412051e53d55dcd6199a5fbf4e1 (diff)
dockerfile for testing on alpine linux
-rw-r--r--Dockerfile13
1 files changed, 13 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 000000000..092e82a46
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,13 @@
+# run with:
+# docker build -t lazygit .
+# docker run -it lazygit:latest
+
+FROM golang:alpine
+
+RUN apk add -U git xdg-utils
+
+ADD . /go/src/github.com/jesseduffield/lazygit
+
+RUN go install github.com/jesseduffield/lazygit
+
+WORKDIR /go/src/github.com/jesseduffield/lazygit \ No newline at end of file