forked from hotio/rflood
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathlinux-amd64.Dockerfile
More file actions
25 lines (20 loc) · 1.04 KB
/
linux-amd64.Dockerfile
File metadata and controls
25 lines (20 loc) · 1.04 KB
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
ARG UPSTREAM_IMAGE
ARG UPSTREAM_TAG_SHA
FROM ${UPSTREAM_IMAGE}:${UPSTREAM_TAG_SHA}
EXPOSE 3000 8080
ARG IMAGE_STATS
ENV IMAGE_STATS=${IMAGE_STATS} FLOOD_AUTH="false" WEBUI_PORTS="8080/tcp,3000/tcp" LIBTORRENT="v2"
RUN ln -s "${CONFIG_DIR}" "${APP_DIR}/qBittorrent"
ARG FULL_VERSION_LIB1
ARG BUILD_REVISION_LIB1
ARG FULL_VERSION_LIB2
ARG BUILD_REVISION_LIB2
RUN curl -fsSL "https://github.com/userdocs/qbittorrent-nox-static/releases/download/${FULL_VERSION_LIB1}/x86_64-qbittorrent-nox" > "${APP_DIR}/qbittorrent-nox-lib1" && \
chmod 755 "${APP_DIR}/qbittorrent-nox-lib1" && \
curl -fsSL "https://github.com/userdocs/qbittorrent-nox-static/releases/download/${FULL_VERSION_LIB2}/x86_64-qbittorrent-nox" > "${APP_DIR}/qbittorrent-nox-lib2" && \
chmod 755 "${APP_DIR}/qbittorrent-nox-lib2"
ARG VERSION_FLOOD
RUN curl -fsSL "https://github.com/jesec/flood/releases/download/v${VERSION_FLOOD}/flood-linux-x64" > "${APP_DIR}/flood" && \
chmod 755 "${APP_DIR}/flood"
COPY root/ /
RUN find /etc/s6-overlay/s6-rc.d -name "run*" -execdir chmod +x {} +