[docker] Remove pinned versions

master v.1.2.3
Nemo 3 years ago
parent 487b222d79
commit 3de4053037
  1. 14
      Dockerfile
  2. 5
      README.md

@ -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"]
ENTRYPOINT ["/usr/bin/muse-dl"]

@ -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.
Licensed under the [MIT License](https://nemo.mit-license.org/). See LICENSE file for details.

Loading…
Cancel
Save