34 lines
818 B
Docker
34 lines
818 B
Docker
# hadolint ignore=DL3007
|
|
ARG VERSION
|
|
|
|
FROM ghcr.io/k8s-at-home/lidarr:v${VERSION}
|
|
|
|
|
|
ARG TARGETPLATFORM
|
|
|
|
USER root
|
|
|
|
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
|
|
|
# hadolint ignore=DL3008,DL3015,SC2086
|
|
RUN \
|
|
usermod -l apps kah \
|
|
&& \
|
|
groupmod -n apps kah \
|
|
&& chown -R apps:apps /config \
|
|
&& rm -rf /app/package_info \
|
|
&& \
|
|
printf "UpdateMethod=docker\nPackageVersion=%s\nPackageAuthor=[TrueCharts Project](https://truecharts.org)" "${VERSION}" > /app/package_info
|
|
|
|
|
|
USER apps
|
|
|
|
EXPOSE 8686
|
|
|
|
CMD ["/entrypoint.sh"]
|
|
|
|
LABEL "maintainer"="TrueCharts <info@truecharts.org>"
|
|
LABEL "authors"="TrueCharts <info@truecharts.org>"
|
|
LABEL "org.opencontainers.image.source"="https://github.com/truecharts/apps/tree/master/.containers/apps/lidarr"
|
|
LABEL "org.opencontainers.image.documentation "="https://truecharts.org"
|