Skip to content

Commit 5f660cf

Browse files
authored
Alpine Linux 3.15 (#41)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
1 parent f4e33ad commit 5f660cf

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

Dockerfile

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ ARG LIBTORRENT_VERSION=1.2.14
22
ARG QBITTORRENT_VERSION=4.3.8
33

44
FROM crazymax/yasu:latest AS yasu
5-
FROM alpine:3.14 AS builder
5+
FROM alpine:3.15 AS builder
66

77
RUN apk add --update --no-cache \
88
autoconf \
@@ -17,7 +17,7 @@ RUN apk add --update --no-cache \
1717
ncurses-dev \
1818
openssl-dev \
1919
zlib-dev \
20-
&& rm -rf /tmp/* /var/cache/apk/*
20+
&& rm -rf /tmp/*
2121

2222
ARG LIBTORRENT_VERSION
2323
RUN cd /tmp \
@@ -32,7 +32,7 @@ RUN cd /tmp \
3232
RUN apk add --update --no-cache \
3333
qt5-qtbase \
3434
qt5-qttools-dev \
35-
&& rm -rf /tmp/* /var/cache/apk/*
35+
&& rm -rf /tmp/*
3636

3737
ARG QBITTORRENT_VERSION
3838
RUN cd /tmp \
@@ -44,7 +44,7 @@ RUN cd /tmp \
4444
&& ls -al /usr/local/bin/ \
4545
&& qbittorrent-nox --help
4646

47-
FROM alpine:3.14
47+
FROM alpine:3.15
4848

4949
COPY --from=yasu / /
5050
COPY --from=builder /usr/local/lib/libtorrent-rasterbar.so.10.0.0 /usr/lib/libtorrent-rasterbar.so.10
@@ -57,10 +57,9 @@ RUN apk --update --no-cache add \
5757
qt5-qtbase \
5858
shadow \
5959
tzdata \
60-
unrar \
6160
unzip \
6261
zlib \
63-
&& rm -rf /tmp/* /var/cache/apk/*
62+
&& rm -rf /tmp/*
6463

6564
ENV QBITTORRENT_HOME="/home/qbittorrent" \
6665
TZ="UTC" \

0 commit comments

Comments
 (0)