From e3c49299b94db4d166d3d649cc4abcb6cb3e8fa5 Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Tue, 17 Mar 2020 07:36:48 -0400 Subject: [PATCH] Update Dockerfile --- Dockerfile | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index 05d2a64..42feea3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,10 +10,9 @@ ENV UPDATE false COPY --from=binstage / / # hardware env -ENV \ - LIBVA_DRIVERS_PATH="/usr/lib/x86_64-linux-gnu/dri" \ - NVIDIA_DRIVER_CAPABILITIES="compute,video,utility" \ - NVIDIA_VISIBLE_DEVICES="all" +ENV LIBVA_DRIVERS_PATH="/usr/lib/x86_64-linux-gnu/dri" +ENV NVIDIA_DRIVER_CAPABILITIES="compute,video,utility" +ENV NVIDIA_VISIBLE_DEVICES="all" RUN \ # ffmpeg @@ -35,10 +34,8 @@ RUN \ rm -rf \ /var/lib/apt/lists/* \ /var/tmp/* - chgrp users /usr/local/bin/ffmpeg && \ - chgrp users /usr/local/bin/ffprobe && \ - chmod g+x /usr/local/bin/ffmpeg && \ - chmod g+x /usr/local/bin/ffprobe + chmod 777 /usr/local/bin/ffmpeg && \ + chmod 777 /usr/local/bin/ffprobe ENV VERSION="1.0.0"