# hadolint ignore=DL3007 ARG VERSION FROM ghcr.io/k8s-at-home/plex: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 32400/tcp 1900/tcp 5353/udp 8324/tcp 32410/udp 32413/udp 32414/udp 32469/udp CMD ["/entrypoint.sh"] LABEL "maintainer"="TrueCharts " LABEL "authors"="TrueCharts " LABEL "org.opencontainers.image.source"="https://github.com/truecharts/apps/tree/master/.containers/apps/plex" LABEL "org.opencontainers.image.documentation "="https://truecharts.org"