Update Dockerfile

pull/1/head
RandomNinjaAtk 5 years ago committed by GitHub
parent 6c3688709b
commit 2c145b4fa6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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 && \

Loading…
Cancel
Save