Skip to content

Commit

Permalink
Merge pull request #131 from linuxserver/nightly-cargo
Browse files Browse the repository at this point in the history
fix up py cryptography builds, clean cache
  • Loading branch information
Roxedus authored Feb 24, 2021
2 parents bd1c63d + e72fd23 commit 8250b1c
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 12 deletions.
10 changes: 6 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,10 @@ RUN \
/tmp/calibre-web.tar.gz -C \
/app/calibre-web --strip-components=1 && \
cd /app/calibre-web && \
pip3 install --no-cache-dir -U -r \
requirements.txt && \
pip3 install --no-cache-dir -U -r \
pip3 install --no-cache-dir -U \
pip && \
pip install --no-cache-dir -U -r \
requirements.txt -r \
optional-requirements.txt && \
echo "***install kepubify" && \
if [ -z ${KEPUBIFY_RELEASE+x} ]; then \
Expand All @@ -64,7 +65,8 @@ RUN \
rm -rf \
/tmp/* \
/var/lib/apt/lists/* \
/var/tmp/*
/var/tmp/* \
/root/.cache

# add local files
COPY root/ /
Expand Down
10 changes: 6 additions & 4 deletions Dockerfile.aarch64
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,10 @@ RUN \
/tmp/calibre-web.tar.gz -C \
/app/calibre-web --strip-components=1 && \
cd /app/calibre-web && \
pip3 install --no-cache-dir -U -r \
requirements.txt && \
pip3 install --no-cache-dir -U -r \
pip3 install --no-cache-dir -U \
pip && \
pip install --no-cache-dir -U -r \
requirements.txt -r \
optional-requirements.txt && \
echo "***install kepubify" && \
if [ -z ${KEPUBIFY_RELEASE+x} ]; then \
Expand All @@ -78,7 +79,8 @@ RUN \
rm -rf \
/tmp/* \
/var/lib/apt/lists/* \
/var/tmp/*
/var/tmp/* \
/root/.cache

# add local files
COPY root/ /
Expand Down
11 changes: 7 additions & 4 deletions Dockerfile.armhf
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,10 @@ RUN \
/tmp/calibre-web.tar.gz -C \
/app/calibre-web --strip-components=1 && \
cd /app/calibre-web && \
pip3 install --no-cache-dir -U -r \
requirements.txt && \
pip3 install --no-cache-dir -U -r \
pip3 install --no-cache-dir -U \
pip && \
pip install --no-cache-dir -U -r \
requirements.txt -r \
optional-requirements.txt && \
echo "***install kepubify" && \
if [ -z ${KEPUBIFY_RELEASE+x} ]; then \
Expand Down Expand Up @@ -82,7 +83,9 @@ RUN \
rm -rf \
/tmp/* \
/var/lib/apt/lists/* \
/var/tmp/*
/var/tmp/* \
/root/.cache \
/root/.cargo

# add local files
COPY root/ /
Expand Down

0 comments on commit 8250b1c

Please sign in to comment.