From a6a8d4d8dfcdbe2dca2be34c74a5b120984235ea Mon Sep 17 00:00:00 2001 From: Ivan Schaller Date: Mon, 16 May 2022 17:07:34 +0200 Subject: [PATCH] fixes for arm64 --- CHANGELOG.md | 2 +- docker/Dockerfile.amd64 | 1 - docker/Dockerfile.arm64 | 5 +++-- requirements.txt | 2 ++ 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 85147ed..88860b9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,7 +16,7 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). - Detection of files. Now it will skip them again ### Added -- Ability to save the chapters as pdf +- Ability to save the chapters as pdf (only on amd64/x86) - New output formats: rar, zip - Progress bar to show image download - Interactive input if no command line flags are given diff --git a/docker/Dockerfile.amd64 b/docker/Dockerfile.amd64 index 9aefcf2..c5bd97a 100644 --- a/docker/Dockerfile.amd64 +++ b/docker/Dockerfile.amd64 @@ -40,6 +40,5 @@ COPY manga-dlp.py \ # install requirements RUN pip install -r /app/requirements.txt -RUN pip install img2pdf WORKDIR /app diff --git a/docker/Dockerfile.arm64 b/docker/Dockerfile.arm64 index 403970a..0680a19 100644 --- a/docker/Dockerfile.arm64 +++ b/docker/Dockerfile.arm64 @@ -38,8 +38,9 @@ COPY manga-dlp.py \ /app/ -# install requirements -RUN pip install -r /app/requirements.txt +# install requirements (without img2pdf) +RUN grep -v img2pdf /app/requirements.txt > /app/requirements-arm64.txt +RUN pip install -r /app/requirements-arm64.txt WORKDIR /app diff --git a/requirements.txt b/requirements.txt index f1e8ee5..fc51641 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1,3 @@ requests>=2.24.0 + +img2pdf>=0.4.4 \ No newline at end of file