- Fix SabNZBD hostname whitelist issues - Add transmission settings to GUI - Fix some qbittorrent connection issues - Remove Torrent Ingress - Fix some device mounting gui issues - Change repo url references - Cleaning up the homepage - Drop Deluge (App is not safe due to being mostly abandoned) - Move Emby to own Non-Root container - Create new trains and move charts->stable - Add Plex app - update emby and plex intel hardware support - Implement new parallel CI for Apps - Move PGID, PUID, TZ and UMASK settings to "Container Image" configuration - Stop running some workflows on staging - Add branch security trigger to matrix workflows Co-authored-by: Troy Prelog <35702532+tprelog@users.noreply.github.com>
105 lines
2.9 KiB
Docker
105 lines
2.9 KiB
Docker
# hadolint ignore=DL3007
|
|
FROM ghcr.io/truecharts/ubuntu:latest as builder
|
|
|
|
ARG TARGETPLATFORM
|
|
ARG VERSION
|
|
|
|
# hadolint ignore=DL3002
|
|
USER root
|
|
|
|
WORKDIR /tmp
|
|
|
|
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
|
|
|
# Install system dependencies
|
|
|
|
WORKDIR /tmp
|
|
|
|
# hadolint ignore=DL3003,DL3008,DL3013,DL3015,SC2086
|
|
RUN \
|
|
echo "**** install packages ****" && \
|
|
apt-get update && \
|
|
apt-get install -y \
|
|
aria2 \
|
|
unrar \
|
|
uuid-runtime \
|
|
cpio \
|
|
jq \
|
|
rpm2cpio \
|
|
beignet-opencl-icd \
|
|
ocl-icd-libopencl1 \
|
|
&& echo "**** install emby ****" && \
|
|
mkdir -p \
|
|
/app && \
|
|
curl -o \
|
|
/tmp/emby.rpm -L \
|
|
"https://github.com/MediaBrowser/Emby.Releases/releases/download/${VERSION}/emby-server-rpm_${VERSION}_x86_64.rpm" && \
|
|
cd /tmp && \
|
|
rpm2cpio emby.rpm \
|
|
| cpio -i --make-directories \
|
|
&& \
|
|
printf "UpdateMethod=docker\nPackageVersion=%s\nPackageAuthor=[TrueCharts Project](https://truecharts.org)" "${VERSION}" > /app/package_info \
|
|
&& \
|
|
mv -t \
|
|
/app \
|
|
/tmp/opt/emby-server/system/* \
|
|
/tmp/opt/emby-server/lib/* \
|
|
/tmp/opt/emby-server/bin/ff* \
|
|
/tmp/opt/emby-server/etc
|
|
|
|
|
|
# hadolint ignore=DL3007
|
|
FROM ghcr.io/truecharts/ubuntu:latest
|
|
|
|
|
|
ARG TARGETPLATFORM
|
|
ARG VERSION
|
|
|
|
USER root
|
|
|
|
ENV NVIDIA_DRIVER_CAPABILITIES="compute,video,utility" \
|
|
INTEL_NEO_VERSION=21.11.19310 \
|
|
INTEL_IGC_VERSION=1.0.6646 \
|
|
INTEL_GMMLIB_VERSION=20.3.2 \
|
|
APP_DIR="/app"
|
|
|
|
# hadolint ignore=DL3008,DL3013,DL3015,SC2086,SC2039
|
|
RUN \
|
|
apt-get update && \
|
|
apt-get install -y --no-install-recommends \
|
|
mesa-va-drivers \
|
|
uuid-runtime && \
|
|
case "${ARCH}" in \
|
|
'amd64') \
|
|
curl -J -L -o /tmp/gmmlib.deb https://github.com/intel/compute-runtime/releases/download/${INTEL_NEO_VERSION}/intel-gmmlib_${INTEL_GMMLIB_VERSION}_amd64.deb \
|
|
&& apt-get install -y /tmp/gmmlib.deb \
|
|
&& curl -J -L -o /tmp/#1.deb https://github.com/intel/intel-graphics-compiler/releases/download/igc-${INTEL_IGC_VERSION}/{intel-igc-core,intel-igc-opencl}_${INTEL_IGC_VERSION}_amd64.deb \
|
|
&& apt-get install -y /tmp/intel-igc-core.deb /tmp/intel-igc-opencl.deb \
|
|
&& curl -J -L -o /tmp/intel-opencl.deb https://github.com/intel/compute-runtime/releases/download/${INTEL_NEO_VERSION}/intel-opencl_${INTEL_NEO_VERSION}_amd64.deb \
|
|
&& apt-get install -y /tmp/intel-opencl.deb \
|
|
;; \
|
|
esac \
|
|
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \
|
|
&& apt-get autoremove -y \
|
|
&& apt-get clean \
|
|
&& \
|
|
rm -rf \
|
|
/tmp/* \
|
|
/var/lib/apt/lists/* \
|
|
/var/tmp/ \
|
|
&& chmod -R u=rwX,go=rX /app \
|
|
&& printf "umask %d" "${UMASK}" >> /etc/bash.bashrc \
|
|
&& update-ca-certificates
|
|
|
|
COPY --from=builder /app /app
|
|
|
|
USER apps
|
|
|
|
EXPOSE 8096 8920
|
|
|
|
COPY ./.containers/apps/emby/entrypoint.sh /entrypoint.sh
|
|
CMD ["/entrypoint.sh"]
|
|
|
|
LABEL "maintainer"="TrueCharts <info@truecharts.org>"
|
|
LABEL "org.opencontainers.image.source"="https://github.com/truecharts/apps"
|