-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Dockerfile
40 lines (35 loc) · 1.71 KB
/
Dockerfile
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
################################################################################
# TaleCaster - https://github.com/rootwyrm/talecaster
# Copyright (C) 2015-* Phillip R. Jaenke <talecaster@rootwrym.com> and its
# contributors, all rights reserved.
#
# Licensed under CC-BY-NC-4.0
# See /LICENSE for details
################################################################################
ARG TALECASTER_BASE=${TALECASTER_BASE:-latest}
FROM ghcr.io/rootwyrm/tc_docker:$TALECASTER_BASE
## Labels
LABEL maintainer="Phillip 'RootWyrm' Jaenke <talecaster@rootwyrm.com>" \
com.rootwyrm.product="TaleCaster" \
com.rootwyrm.talecaster.project="tc_qbittorrent" \
com.rootwyrm.talecaster.status="%%STATUS%%" \
com.rootwyrm.talecaster.service="torrent" \
com.rootwyrm.license="CC-BY-NC-4.0" \
com.rootwyrm.vcs-type="github" \
com.rootwyrm.vcs.url="%%GITHUB_REPOSITORY%%" \
## OCI
org.opencontainers.image.created="%%RW_BUILDDATE%%" \
org.opencontainers.image.url="https://github.com/rootwyrm/talecaster" \
org.opencontainers.image.authors="RootWyrm" \
org.opencontainers.image.vendor="RootWyrm" \
org.opencontainers.image.licenses="CC-BY-NC-4.0" \
org.opencontainers.image.source="%%GITHUB_REPOSITORY%%" \
org.opencontainers.image.version="%%RW_VCSHASH%%" \
org.opencontainers.image.revision="%%GITHUB_SHA%%"
## PORTS
EXPOSE 8081/tcp
## Retrieve a prebuilt for now
RUN wget -qO /usr/local/bin/qbittorrent-nox https://github.com/userdocs/qbittorrent-nox-static/releases/latest/download/$(uname -m)-qbittorrent-nox ; chmod +x /usr/local/bin/qbittorrent-nox
## VOLUMES
VOLUME [ "/talecaster/shared", "/talecaster/blackhole", "/talecaster/downloads" ]
# vim: sw=4:ts=4