Skip to content

Commit

Permalink
Merge pull request #417 from stickz/patch-24
Browse files Browse the repository at this point in the history
Alpine: Upgrade to v3.21
  • Loading branch information
crazy-max authored Dec 25, 2024
2 parents 1bf5274 + d76c6fc commit 8aa3da2
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ ARG DUMP_TORRENT_VERSION=302ac444a20442edb4aeabef65b264a85ab88ce9
# v6.3-0.9.8-0.13.8
ARG RTORRENT_STICKZ_VERSION=ddbbe8a03fb94cf95ab9a6d7fd5c60e51c0353ba

ARG ALPINE_VERSION=3.20
ARG ALPINE_VERSION=3.21
ARG ALPINE_S6_VERSION=${ALPINE_VERSION}-2.2.0.3

FROM --platform=${BUILDPLATFORM} alpine:${ALPINE_VERSION} AS src
Expand Down Expand Up @@ -205,9 +205,11 @@ RUN echo "net.core.rmem_max = 67108864" >> /etc/sysctl.conf \
&& sysctl -p

# unrar package is not available since alpine 3.15
# dhclient package is not available since alpine 3.21
RUN echo "@314 http://dl-cdn.alpinelinux.org/alpine/v3.14/main" >> /etc/apk/repositories \
&& apk --update --no-cache add unrar@314

&& echo "@320 http://dl-cdn.alpinelinux.org/alpine/v3.20/main" >> /etc/apk/repositories \
&& apk --update --no-cache add unrar@314 dhclient@320

RUN apk --update --no-cache add \
apache2-utils \
bash \
Expand All @@ -216,7 +218,6 @@ RUN apk --update --no-cache add \
brotli \
ca-certificates \
coreutils \
dhclient \
ffmpeg \
findutils \
geoip \
Expand Down

0 comments on commit 8aa3da2

Please sign in to comment.