Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions apps/jellyfin/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
libjemalloc2 \
mesa-va-drivers \
xmlstarlet \
libfontconfig1 \
libfreetype6 \
&& echo "**** add Jellyfin repo *****" \
&& curl -fsSL https://repo.jellyfin.org/jellyfin_team.gpg.key | gpg --dearmor -o /usr/share/keyrings/jellyfin-archive-keyring.gpg \
&& echo "deb [signed-by=/usr/share/keyrings/jellyfin-archive-keyring.gpg] https://repo.jellyfin.org/ubuntu noble main" \
Expand Down
44 changes: 44 additions & 0 deletions apps/ubuntu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,15 @@ ARG VERSION
ARG TARGETARCH
ARG VENDOR

# https://github.com/intel/compute-runtime/releases
# >= Gen12 graphics (current)
ARG IGC2_VER
ARG NEO_VER
# <= Gen11 graphics (legacy)
ARG IGC1_LEGACY_VER
ARG NEO_LEGACY_VER


ENV DEBIAN_FRONTEND="noninteractive" \
NVIDIA_DRIVER_CAPABILITIES="compute,video,utility" \
# Enable detection of dotnet running in a container
Expand Down Expand Up @@ -59,6 +68,7 @@ RUN apt-get update \
fontconfig \
p11-kit \
unzip \
ocl-icd-libopencl1 \
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \
&& apt-get autoremove -y \
&& apt-get clean \
Expand All @@ -72,6 +82,40 @@ RUN apt-get update \
chmod +x /usr/local/bin/yq \
&& rm -rf /tmp/* /var/lib/apt/lists/* /var/tmp/

RUN if [ "${TARGETARCH}" = "amd64" ]; then \
mkdir intel-compute-runtime && cd intel-compute-runtime; \
\
# Fetch GMMLIB_VER from a specific NEO release
GMMLIB_VER=$(curl -s https://api.github.com/repos/intel/compute-runtime/releases/tags/${NEO_VER} \
| jq -r '.assets[].name' \
| grep 'libigdgmm12_.*_amd64.deb' \
| sed -E 's/libigdgmm12_(.*)_amd64.deb/\1/'); \
\
# Fetch IGC2_BUILD from a specific IGC2 release
IGC2_BUILD=$(curl -s https://api.github.com/repos/intel/intel-graphics-compiler/releases/tags/v${IGC2_VER} \
| jq -r '.assets[].name' \
| grep 'intel-igc-core-2_.*\+.*_amd64.deb' \
| sed -E 's/.*\+([0-9]+)_amd64.deb/\1/'); \
\
# Download the debs for the specific versions
curl -LO https://github.com/intel/compute-runtime/releases/download/${NEO_VER}/libigdgmm12_${GMMLIB_VER}_amd64.deb \
-LO https://github.com/intel/intel-graphics-compiler/releases/download/v${IGC2_VER}/intel-igc-core-2_${IGC2_VER}+${IGC2_BUILD}_amd64.deb \
-LO https://github.com/intel/intel-graphics-compiler/releases/download/v${IGC2_VER}/intel-igc-opencl-2_${IGC2_VER}+${IGC2_BUILD}_amd64.deb \
-LO https://github.com/intel/compute-runtime/releases/download/${NEO_VER}/intel-opencl-icd_${NEO_VER}-0_amd64.deb \
-LO https://github.com/intel/intel-graphics-compiler/releases/download/igc-${IGC1_LEGACY_VER}/intel-igc-core_${IGC1_LEGACY_VER}_amd64.deb \
-LO https://github.com/intel/intel-graphics-compiler/releases/download/igc-${IGC1_LEGACY_VER}/intel-igc-opencl_${IGC1_LEGACY_VER}_amd64.deb \
-LO https://github.com/intel/compute-runtime/releases/download/${NEO_LEGACY_VER}/intel-opencl-icd-legacy1_${NEO_LEGACY_VER}_amd64.deb; \
\
apt-get install --no-install-recommends --no-install-suggests -y ./*.deb; \
cd ..; \
rm -rf intel-compute-runtime; \
apt-get clean autoclean --yes; \
apt-get autoremove --yes; \
rm -rf /var/cache/apt/archives* /var/lib/apt/lists/*; \
fi



# Use a safe non-root user
# Note: nobody:nogroup does not map to the same uid:gid on every (host/share) distro!
USER apps:apps
Expand Down
24 changes: 24 additions & 0 deletions apps/ubuntu/docker-bake.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,26 @@ variable "VERSION" {
default = "24.04"
}

variable "NEO_VER" {
// renovate: datasource=github-releases depName=intel/compute-runtime
default = "25.35.35096.9"
}

variable "IGC2_VER" {
// renovate: datasource=github-releases depName=intel/intel-graphics-compiler
default = "2.18.5"
}

// Fixed Legacy value
variable "IGC1_LEGACY_VER" {
default = "1.0.17537.24"
}

// Fixed Legacy value
variable "NEO_LEGACY_VER" {
default = "24.35.30872.36"
}

variable "LICENSE" {
default = "AGPL-3.0-or-later"
}
Expand All @@ -24,6 +44,10 @@ target "image" {
inherits = ["docker-metadata-action"]
args = {
VERSION = "${VERSION}"
NEO_VER = "${NEO_VER}"
IGC2_VER = "${IGC2_VER}"
IGC1_LEGACY_VER = "${IGC1_LEGACY_VER}"
NEO_LEGACY_VER = "${NEO_LEGACY_VER}"
}
labels = {
"org.opencontainers.image.source" = "${SOURCE}"
Expand Down