update radarr version
This commit is contained in:
parent
6cda398810
commit
656ea60838
14
Dockerfile
14
Dockerfile
@ -1,4 +1,4 @@
|
|||||||
ARG RADARR_VERSION=4.1.0.6175
|
ARG RADARR_VERSION=4.3.2.6857
|
||||||
#FROM golang:bullseye AS builder
|
#FROM golang:bullseye AS builder
|
||||||
#ARG SHOUTRRR_VERSION
|
#ARG SHOUTRRR_VERSION
|
||||||
#RUN git clone -b ${SHOUTRRR_VERSION} --depth 1 https://github.com/containrrr/shoutrrr.git ./shoutrrr
|
#RUN git clone -b ${SHOUTRRR_VERSION} --depth 1 https://github.com/containrrr/shoutrrr.git ./shoutrrr
|
||||||
@ -22,8 +22,8 @@ RUN apt-get update && \
|
|||||||
tar \
|
tar \
|
||||||
dirmngr
|
dirmngr
|
||||||
# Mediainfo repo install
|
# Mediainfo repo install
|
||||||
RUN curl -O https://mediaarea.net/repo/deb/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-20_all.deb \
|
&& dpkg -i repo-mediaarea_1.0-21_all.deb \
|
||||||
&& apt-get update
|
&& apt-get update
|
||||||
# Install dependancies
|
# Install dependancies
|
||||||
RUN apt-get -y install \
|
RUN apt-get -y install \
|
||||||
@ -31,7 +31,7 @@ RUN apt-get -y install \
|
|||||||
mediainfo \
|
mediainfo \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
# Create the user that will run the service
|
# 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
|
# Download and extract the package
|
||||||
RUN mkdir -p /app/bin \
|
RUN mkdir -p /app/bin \
|
||||||
&& mkdir /config \
|
&& mkdir /config \
|
||||||
@ -39,12 +39,12 @@ RUN mkdir -p /app/bin \
|
|||||||
&& rm -rf /app/bin/Radarr.Update \
|
&& rm -rf /app/bin/Radarr.Update \
|
||||||
&& echo -e "PackageVersion=${RADARR_VERSION}\nPackageAuthor=Michael\nUpdateMethod=Docker\nBranch=master" > "/app/package_info" \
|
&& echo -e "PackageVersion=${RADARR_VERSION}\nPackageAuthor=Michael\nUpdateMethod=Docker\nBranch=master" > "/app/package_info" \
|
||||||
&& chmod -R u=rwX,go=rX /app \
|
&& chmod -R u=rwX,go=rX /app \
|
||||||
&& chown -R radarr /app \
|
&& chown -R root /app \
|
||||||
&& chown -R radarr /config
|
&& chown -R root /config
|
||||||
# Set startup conditions
|
# Set startup conditions
|
||||||
VOLUME /config
|
VOLUME /config
|
||||||
EXPOSE 7878
|
EXPOSE 7878
|
||||||
USER radarr
|
# USER radarr
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
ENTRYPOINT ["/app/bin/Radarr"]
|
ENTRYPOINT ["/app/bin/Radarr"]
|
||||||
CMD ["--nobrowser", "--data=/config"]
|
CMD ["--nobrowser", "--data=/config"]
|
||||||
|
Loading…
Reference in New Issue
Block a user