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