-
-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathlinux-arm64.Dockerfile
More file actions
21 lines (17 loc) · 855 Bytes
/
linux-arm64.Dockerfile
File metadata and controls
21 lines (17 loc) · 855 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
ARG UPSTREAM_IMAGE
ARG UPSTREAM_TAG_SHA
FROM ${UPSTREAM_IMAGE}:${UPSTREAM_TAG_SHA}
EXPOSE 8080
ARG IMAGE_STATS
ENV IMAGE_STATS=${IMAGE_STATS} WEBUI_PORTS="8080/tcp" LIBTORRENT="v1"
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}/aarch64-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}/aarch64-qbittorrent-nox" > "${APP_DIR}/qbittorrent-nox-lib2" && \
chmod 755 "${APP_DIR}/qbittorrent-nox-lib2"
COPY root/ /
RUN find /etc/s6-overlay/s6-rc.d -name "run*" -execdir chmod +x {} +