From 2c145b4fa6e0d1df30c61da2adfae5d07e85fbab Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Tue, 17 Mar 2020 07:10:15 -0400 Subject: [PATCH] Update Dockerfile --- Dockerfile | 52 +++++++++++++++++++++------------------------------- 1 file changed, 21 insertions(+), 31 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3233a0b..9fee10d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,24 +16,29 @@ ENV \ NVIDIA_VISIBLE_DEVICES="all" RUN \ - echo "**** install runtime ****" && \ - apt-get update && \ - apt-get install -y \ - i965-va-driver \ - libexpat1 \ - libgl1-mesa-dri \ - libglib2.0-0 \ - libgomp1 \ - libharfbuzz0b \ - libv4l-0 \ - libx11-6 \ - libxcb1 \ - libxext6 \ - libxml2 && \ - echo "**** clean up ****" && \ - rm -rf \ + # ffmpeg + echo "**** install runtime ****" && \ + apt-get update && \ + apt-get install -y \ + i965-va-driver \ + libexpat1 \ + libgl1-mesa-dri \ + libglib2.0-0 \ + libgomp1 \ + libharfbuzz0b \ + libv4l-0 \ + libx11-6 \ + libxcb1 \ + libxext6 \ + libxml2 && \ + echo "**** clean up ****" && \ + 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 ENV VERSION="1.0.0" @@ -51,21 +56,6 @@ RUN \ apt-get purge --auto-remove -y && \ apt-get clean -RUN \ - # ffmpeg - apt-get update -qq && \ - apt-get install -qq -y \ - libva-drm2 \ - libva2 \ - i965-va-driver \ - libgomp1 && \ - apt-get purge --auto-remove -y && \ - apt-get clean && \ - 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 - # get python3 and git, and install python libraries RUN \ apt-get update && \