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" NVIDIA_VISIBLE_DEVICES="all"
RUN \ RUN \
echo "**** install runtime ****" && \ # ffmpeg
apt-get update && \ echo "**** install runtime ****" && \
apt-get install -y \ apt-get update && \
i965-va-driver \ apt-get install -y \
libexpat1 \ i965-va-driver \
libgl1-mesa-dri \ libexpat1 \
libglib2.0-0 \ libgl1-mesa-dri \
libgomp1 \ libglib2.0-0 \
libharfbuzz0b \ libgomp1 \
libv4l-0 \ libharfbuzz0b \
libx11-6 \ libv4l-0 \
libxcb1 \ libx11-6 \
libxext6 \ libxcb1 \
libxml2 && \ libxext6 \
echo "**** clean up ****" && \ libxml2 && \
rm -rf \ echo "**** clean up ****" && \
rm -rf \
/var/lib/apt/lists/* \ /var/lib/apt/lists/* \
/var/tmp/* /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" ENV VERSION="1.0.0"
@ -51,21 +56,6 @@ RUN \
apt-get purge --auto-remove -y && \ apt-get purge --auto-remove -y && \
apt-get clean 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 # get python3 and git, and install python libraries
RUN \ RUN \
apt-get update && \ apt-get update && \

Loading…
Cancel
Save