From 3de4053037f4f3d65c3a05b584120f47b0b81ac9 Mon Sep 17 00:00:00 2001 From: Nemo Date: Thu, 14 May 2020 01:31:38 +0530 Subject: [PATCH] [docker] Remove pinned versions --- Dockerfile | 14 +++++++------- README.md | 5 +++-- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5442858..d333feb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,19 +12,19 @@ RUN mkdir -p /usr/share/man/man1 && \ apt-get update && \ apt-get install --yes --no-install-recommends \ # Install gnupg for the apt-key operation - gnupg=2.2.12-1+deb10u1 \ + gnupg \ # libssl for faster TLS in Crystal - libssl-dev=1.1.1d-0+deb10u2 \ + libssl-dev \ # pdftk as a dependency for muse-dl pdftk=2.02-5 \ # ca-certificates for talking to crystal-lang.org - ca-certificates=20190110 \ + ca-certificates \ # git to let shards install happen - git=1:2.20.1-2+deb10u1 \ + git \ # needed by myhtml crystal shard - make=4.2.1-1.2 \ + make \ # build --release - zlib1g-dev=1:1.2.11.dfsg-1 && \ + zlib1g-dev && \ # See https://crystal-lang.org/install/ apt-key add /tmp/crystal.gpg && \ echo "deb https://dist.crystal-lang.org/apt crystal main" > /etc/apt/sources.list.d/crystal.list && \ @@ -42,4 +42,4 @@ RUN apt-get --yes remove git gnupg WORKDIR /data VOLUME /data -ENTRYPOINT ["/usr/bin/muse-dl"] \ No newline at end of file +ENTRYPOINT ["/usr/bin/muse-dl"] diff --git a/README.md b/README.md index ebab1c6..709f979 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ A docker image is available at `captn3m0/muse-dl` on Docker Hub. The working dir # Download the book, and put it in your Downloads directory docker run -it /home/nemo/Downloads:/data captn3m0/muse-dl:edge https://muse.jhu.edu/book/875 -# If you have a list.txt file in your Downloads directory, then you can run +# If you have a list.txt file in your Downloads directory, then you can run docker run -it /home/nemo/Downloads:/data captn3m0/muse-dl:edge /data/list.txt # If you want to keep the temporary files with your host, and not delete them @@ -66,6 +66,7 @@ INPUT_FILE: Path to a file containing a list of links --no-bookmarks Don't add bookmarks in the PDF --input-pdf INPUT Input Stitched PDF. Will not download anything --clobber Overwrite the output file, if it already exists. Not compatible with input-pdf + --dont-strip-first-page Disables first page from being stripped. Use carefully --cookie COOKIE Cookie-header -h, --help Show this help ``` @@ -85,4 +86,4 @@ And it will download all the links in that file. ## License -Licensed under the [MIT License](https://nemo.mit-license.org/). See LICENSE file for details. \ No newline at end of file +Licensed under the [MIT License](https://nemo.mit-license.org/). See LICENSE file for details.