forked from zelikos/davincibox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Containerfile
20 lines (15 loc) · 870 Bytes
/
Containerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM ghcr.io/ublue-os/fedora-distrobox:latest 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="[email protected]"
RUN dnf -y install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
RUN dnf -y install https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
COPY system_files /
COPY extra-packages /
RUN dnf -y update && \
grep -v '^#' /extra-packages | xargs dnf -y install
RUN rm /extra-packages