Skip to content

Commit

Permalink
update(): alpine + rutorrent + unrar and add ratiocolor plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
Rathorian committed Jun 29, 2024
1 parent b6772d6 commit 0d31e5a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
10 changes: 6 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM alpine:3.19 AS builder
FROM alpine:3.20 AS builder

ARG UNRAR_VER=7.0.8
ARG UNRAR_VER=7.0.9

RUN apk --update --no-cache add \
autoconf \
Expand All @@ -21,14 +21,14 @@ RUN apk --update --no-cache add \
&& make -f makefile \
&& install -Dm 755 unrar /usr/bin/unrar

FROM alpine:3.19
FROM alpine:3.20

LABEL description="rutorrent based on alpinelinux" \
maintainer="magicalex <[email protected]>"

ARG FILEBOT=false
ARG FILEBOT_VER=5.1.3
ARG RUTORRENT_VER=4.3.1
ARG RUTORRENT_VER=4.3.5

ENV UID=991 \
GID=991 \
Expand Down Expand Up @@ -85,9 +85,11 @@ RUN apk --update --no-cache add \
# Install rutorrent
&& git clone -b v${RUTORRENT_VER} --recurse-submodules https://github.com/Novik/ruTorrent.git /rutorrent/app \
&& git clone https://github.com/Micdu70/geoip2-rutorrent.git /rutorrent/app/plugins/geoip2 \
&& git clone https://github.com/Micdu70/rutorrent-ratiocolor.git /rutorrent/app/plugins/ratiocolor \
&& rm -rf /rutorrent/app/plugins/geoip \
&& rm -rf /rutorrent/app/plugins/_cloudflare \
&& rm -rf /rutorrent/app/plugins/geoip2/.git \
&& rm -rf /rutorrent/app/plugins/ratiocolor/.git \
&& rm -rf /rutorrent/app/.git \
# Socket folder
&& mkdir -p /run/rtorrent /run/nginx /run/php \
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
## Features

- Platform image: `linux/amd64`, `linux/arm64`
- Based on Alpine Linux 3.19
- Based on Alpine Linux 3.20
- php 8.2
- Provides by default a solid configuration
- No root process
Expand All @@ -28,7 +28,7 @@
| -------- | ----------- | ---- | ------------- |
| **FILEBOT** | Build with filebot | *optional* | false
| **FILEBOT_VER** | Filebot version | *optional* | 5.1.3
| **RUTORRENT_VER** | ruTorrent version | *optional* | 4.3.1
| **RUTORRENT_VER** | ruTorrent version | *optional* | 4.3.5

### build

Expand Down

0 comments on commit 0d31e5a

Please sign in to comment.