Compare commits

...
12 Commits
35 ... 96
2 changed files with 41 additions and 27 deletions
+16 -24
View File
@@ -1,49 +1,41 @@
FROM lsiobase/xenial
MAINTAINER sparklyballs
# environment settings
ARG DEBIAN_FRONTEND="noninteractive"
ENV XDG_CONFIG_HOME="/config/xdg"
FROM lsiobase/mono
# set version label
ARG BUILD_DATE
ARG VERSION
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
LABEL maintainer="sparklyballs"
# environment settings
ARG DEBIAN_FRONTEND="noninteractive"
ARG RADARR_BRANCH="develop"
ENV XDG_CONFIG_HOME="/config/xdg"
# install packages
RUN \
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 \
--recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF && \
echo "deb http://download.mono-project.com/repo/debian wheezy main" \
| tee /etc/apt/sources.list.d/mono-xamarin.list && \
echo "**** install jq ****" && \
apt-get update && \
apt-get install -y \
libcurl3 \
libmono-cil-dev \
mediainfo && \
# install radarr
radarr_tag=$(curl -sX GET "https://api.github.com/repos/Radarr/Radarr/releases" \
| awk '/tag_name/{print $4;exit}' FS='[""]') && \
jq && \
echo "**** install radarr ****" && \
radarr_url=$(curl "http://radarr.aeonlucid.com/v1/update/${RADARR_BRANCH}/changes?os=linux" \
| jq -r '.[0].url') && \
mkdir -p \
/opt/radarr && \
curl -o \
/tmp/radar.tar.gz -L \
"https://github.com/galli-leo/Radarr/releases/download/${radarr_tag}/Radarr.develop.${radarr_tag#v}.linux.tar.gz" && \
"${radarr_url}" && \
tar ixzf \
/tmp/radar.tar.gz -C \
/opt/radarr --strip-components=1 && \
# clean up
echo "**** clean up ****" && \
rm -rf \
/tmp/* \
/var/lib/apt/lists/* \
/var/tmp/*
# add local files
# add local files
COPY /root /
# ports and volumes
# ports and volumes
EXPOSE 7878
VOLUME /config /downloads /movies
+25 -3
View File
@@ -13,7 +13,7 @@ The [LinuxServer.io][linuxserverurl] team brings you another container release f
* [Podcast][podcasturl] covers everything to do with getting the most from your Linux Server plus a focus on all things Docker and containerisation!
# linuxserver/radarr
[![](https://images.microbadger.com/badges/version/linuxserver/radarr.svg)](https://microbadger.com/images/linuxserver/radarr "Get your own version badge on microbadger.com")[![](https://images.microbadger.com/badges/image/linuxserver/radarr.svg)](http://microbadger.com/images/linuxserver/radarr "Get your own image badge on microbadger.com")[![Docker Pulls](https://img.shields.io/docker/pulls/linuxserver/radarr.svg)][hub][![Docker Stars](https://img.shields.io/docker/stars/linuxserver/radarr.svg)][hub][![Build Status](http://jenkins.linuxserver.io:8080/buildStatus/icon?job=Dockers/LinuxServer.io/linuxserver-radarr)](http://jenkins.linuxserver.io:8080/job/Dockers/job/LinuxServer.io/job/linuxserver-radarr/)
[![](https://images.microbadger.com/badges/version/linuxserver/radarr.svg)](https://microbadger.com/images/linuxserver/radarr "Get your own version badge on microbadger.com")[![](https://images.microbadger.com/badges/image/linuxserver/radarr.svg)](https://microbadger.com/images/linuxserver/radarr "Get your own image badge on microbadger.com")[![Docker Pulls](https://img.shields.io/docker/pulls/linuxserver/radarr.svg)][hub][![Docker Stars](https://img.shields.io/docker/stars/linuxserver/radarr.svg)][hub][![Build Status](https://ci.linuxserver.io/buildStatus/icon?job=Docker-Builders/x86-64/x86-64-radarr)](https://ci.linuxserver.io/job/Docker-Builders/job/x86-64/job/x86-64-radarr/)
[Radarr][appurl] - A fork of Sonarr to work with movies à la Couchpotato.
@@ -27,12 +27,25 @@ docker create \
-v <path to data>:/config \
-v <path to data>:/downloads \
-v <path to data>:/movies \
-e PGID=<gid> -e PUID=<uid> \
-v /etc/localtime:/etc/localtime:ro \
-e TZ=<timezone> \
-e PGID=<gid> -e PUID=<uid> \
-p 7878:7878 \
linuxserver/radarr
```
You can choose between ,using tags, various branch versions of radarr, no tag is required to remain on the main branch.
Add one of the tags, if required, to the linuxserver/radarr line of the run/create command in the following format, linuxserver/radarr:nightly
The nightly branch and master branch can from time to time be the same version.
HOWEVER , USE THE NIGHTLY BRANCH AT YOUR OWN PERIL !!!!!!!!!
#### Tags
+ **nightly**
## Parameters
`The parameters are split into two halves, separated by a colon, the left hand side representing the host and the right the container side.
@@ -45,12 +58,17 @@ http://192.168.x.x:8080 would show you what's running INSIDE the container on po
* `-v /config` - Radarr Application Data
* `-v /downloads` - Downloads Folder
* `-v /movies` - Movie Share
* `-v /etc/localtime` for timesync - see [Localtime](#localtime) for important information
* `-e TZ` for timezone information, Europe/London - see [Localtime](#localtime) for important information
* `-e PGID` for for GroupID - see below for explanation
* `-e PUID` for for UserID - see below for explanation
* `-e TZ` for timezone information, eg Europe/London
It is based on alpine linux with s6 overlay, for shell access whilst the container is running do `docker exec -it radarr /bin/bash`.
## Localtime
It is important that you either set `-v /etc/localtime:/etc/localtime:ro` or the TZ variable, mono will throw exceptions without one of them set.
### User / Group Identifiers
Sometimes when using data volumes (`-v` flags) permissions issues can arise between the host OS and the container. We avoid this issue by allowing you to specify the user `PUID` and group `PGID`. Ensure the data volume directory on the host is owned by the same user you specify and it will "just work" ™.
@@ -81,5 +99,9 @@ Access the webui at `<your-ip>:7878`, for more information check out [Radarr][ap
## Versions
+ **24.02.18:** Add nightly branch.
+ **06.02.18:** Radarr repo changed owner.
+ **15.12.17:** Fix continuation lines.
+ **17.04.17:** Switch to using inhouse mono baseimage, adds python also.
+ **13.04.17:** Switch to official mono repository.
+ **10.01.17:** Initial Release.