diff --git a/Dockerfile b/Dockerfile index a562acf..60c1511 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -ARG RADARR_VERSION=4.1.0.6175 +ARG RADARR_VERSION=4.3.2.6857 #FROM golang:bullseye AS builder #ARG SHOUTRRR_VERSION #RUN git clone -b ${SHOUTRRR_VERSION} --depth 1 https://github.com/containrrr/shoutrrr.git ./shoutrrr @@ -22,8 +22,8 @@ RUN apt-get update && \ tar \ dirmngr # Mediainfo repo install -RUN curl -O https://mediaarea.net/repo/deb/repo-mediaarea_1.0-20_all.deb \ - && dpkg -i repo-mediaarea_1.0-20_all.deb \ +RUN curl -O https://mediaarea.net/repo/deb/repo-mediaarea_1.0-21_all.deb \ + && dpkg -i repo-mediaarea_1.0-21_all.deb \ && apt-get update # Install dependancies RUN apt-get -y install \ @@ -31,7 +31,7 @@ RUN apt-get -y install \ mediainfo \ && rm -rf /var/lib/apt/lists/* # Create the user that will run the service -RUN useradd -UM -u 1000 -d /app -s /bin/bash radarr +# RUN useradd -UM -u 1000 -d /app -s /bin/bash radarr # Download and extract the package RUN mkdir -p /app/bin \ && mkdir /config \ @@ -39,12 +39,12 @@ RUN mkdir -p /app/bin \ && rm -rf /app/bin/Radarr.Update \ && echo -e "PackageVersion=${RADARR_VERSION}\nPackageAuthor=Michael\nUpdateMethod=Docker\nBranch=master" > "/app/package_info" \ && chmod -R u=rwX,go=rX /app \ - && chown -R radarr /app \ - && chown -R radarr /config + && chown -R root /app \ + && chown -R root /config # Set startup conditions VOLUME /config EXPOSE 7878 -USER radarr +# USER radarr WORKDIR /app ENTRYPOINT ["/app/bin/Radarr"] CMD ["--nobrowser", "--data=/config"]