forked from DDS-Derek/qBittorrent-Enhanced-Edition-Docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile.iyuu
62 lines (53 loc) · 1.43 KB
/
Dockerfile.iyuu
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
FROM alpine:edge AS build
ARG QBEE_TAG
ARG FILE_NAME
COPY root /default
COPY root2 /default
RUN apk --no-cache add curl unzip git
RUN \
curl -L -o "/tmp/qbittorrentee.zip" "https://github.com/YuCat-OVO/qBittorrent-Enhanced-Edition/releases/download/release-${QBEE_TAG}/${FILE_NAME}" && \
unzip "/tmp/qbittorrentee.zip" -d "/tmp" && \
mkdir -p "/default/usr/bin" && \
mv "/tmp/qbittorrent-nox" "/default/usr/bin/qbittorrent-nox" && \
git clone --depth 1 https://github.com/ledccn/IYUUPlus.git /iyuu
FROM alpine:20240606
COPY --from=build /default /
ENV QBT_PROFILE=/home/qbittorrent \
TZ=Asia/Shanghai \
PUID=1000 \
PGID=100 \
WEBUI_PORT=8080 \
BT_PORT=34567 \
QB_USERNAME=admin \
QB_PASSWORD=adminadmin \
LANG=zh_CN.UTF-8 \
SHELL=/bin/bash \
PS1="\u@\h:\w \$ " \
IYUU_REPO_URL=https://gitee.com/ledc/iyuuplus.git
RUN apk add --no-cache \
composer \
git \
libressl \
tar \
unzip \
zip \
php82 \
php82-curl \
php82-dom \
php82-json \
php82-mbstring \
php82-openssl \
php82-opcache \
php82-pdo \
php82-pdo_sqlite \
php82-phar \
php82-pcntl \
php82-posix \
php82-simplexml \
php82-sockets \
php82-session \
php82-zip \
php82-zlib \
php82-xml && \
printf "upload_max_filesize=100M\npost_max_size=108M\nmemory_limit=1024M\ndate.timezone=%s" "${TZ}" > /etc/php82/conf.d/99-overrides.ini
VOLUME ["/iyuu"]