🏡 index : github.com/captn3m0/muse-dl.git

author Nemo <me@captnemo.in> 2020-05-14 1:31:38.0 +05:30:00
committer Nemo <me@captnemo.in> 2020-05-14 1:31:38.0 +05:30:00
commit
3de4053037f4f3d65c3a05b584120f47b0b81ac9 [patch]
tree
6c10e39d4e9d2dc0d7194fc744f20e21ddfbfffe
parent
487b222d797450b3343bd6888e6abe25385a433b
download
3de4053037f4f3d65c3a05b584120f47b0b81ac9.tar.gz

[docker] Remove pinned versions



Diff

 Dockerfile | 14 +++++++++-----
 README.md  |  5 +++--
 2 files changed, 10 insertions(+), 9 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index 5442858..d333feb 100644
--- a/Dockerfile
+++ a/Dockerfile
@@ -12,19 +12,19 @@
	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 @@
WORKDIR /data
VOLUME /data

ENTRYPOINT ["/usr/bin/muse-dl"]
ENTRYPOINT ["/usr/bin/muse-dl"]
diff --git a/README.md b/README.md
index ebab1c6..709f979 100644
--- a/README.md
+++ a/README.md
@@ -30,7 +30,7 @@
# 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 @@
    --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 @@

## 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.