-
-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathContainerfile
More file actions
24 lines (18 loc) · 865 Bytes
/
Containerfile
File metadata and controls
24 lines (18 loc) · 865 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
FROM quay.io/fedora/fedora-toolbox:42 AS davincibox
# Support Nvidia Container Runtime (https://developer.nvidia.com/nvidia-container-runtime)
ENV NVIDIA_VISIBLE_DEVICES all
ENV NVIDIA_DRIVER_CAPABILITIES all
LABEL com.github.containers.toolbox="true" \
usage="This image is meant to be used with the toolbox or distrobox commands" \
summary="Dependencies for running DaVinci Resolve on image-based Linux operating systems" \
maintainer="pcsikos@zelikos.dev"
COPY system_files /
COPY davinci-dependencies /
RUN dnf -y update && \
grep -v '^#' /davinci-dependencies | xargs dnf -y install
RUN rm /davinci-dependencies
FROM davincibox AS davincibox-opencl
# Remove mesa-libOpenCL since it breaks rocm-opencl
# https://github.com/zelikos/davincibox/issues/173
RUN dnf -y remove mesa-libOpenCL
RUN dnf -y install intel-compute-runtime rocm-opencl