From 8ee1782c70b82af7933627033b0fb7a79d2a604d Mon Sep 17 00:00:00 2001 From: Aidan Hobson Sayers Date: Wed, 5 Aug 2015 04:13:13 +0100 Subject: [PATCH] 0.2 instructions --- Dockerfile.release | 5 +++++ README.md | 16 +++++++++++++++- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 Dockerfile.release diff --git a/Dockerfile.release b/Dockerfile.release new file mode 100644 index 0000000..aab9b07 --- /dev/null +++ b/Dockerfile.release @@ -0,0 +1,5 @@ +FROM aidanhs/chmod + +ADD https://github.com/aidanhs/dlgrab/releases/download/0.2/dlgrab-linux-x64 /dlgrab +RUN ["/chmod", "+x", "/dlgrab"] +ENTRYPOINT ["/dlgrab", "--outdir=/out"] diff --git a/README.md b/README.md index b93f9aa..8e6b50d 100644 --- a/README.md +++ b/README.md @@ -14,13 +14,27 @@ stop working. That said, it's probably more robust than trying to export directly from the filesystem. -## Build dlgrab +## Get dlgrab + +Build: $ git clone https://github.com/aidanhs/dlgrab.git $ cd dlgrab $ make $ ./dlgrab +Download: + + $ wget -O dlgrab https://github.com/aidanhs/dlgrab/releases/download/0.2/dlgrab-linux-x64 + $ ./dlgrab + +Docker pull: + + $ IMG=aidanhs/dlgrab:0.2 + $ docker pull $IMG + $ alias dlgrab='docker run --rm -v $(pwd):/out -v /var/run/docker.sock:/var/run/docker.sock $IMG + $ dlgrab + ## Usage $ ./dlgrab