2020-05-29 22:14:32 +00:00
|
|
|
# Name: Video2X Dockerfile
|
|
|
|
# Creator: Danielle Douglas
|
|
|
|
# Date Created: Unknown
|
|
|
|
# Last Modified: January 14, 2020
|
|
|
|
|
|
|
|
# Editor: Lhanjian
|
|
|
|
# Last Modified: May 24, 2020
|
|
|
|
|
|
|
|
# Editor: K4YT3X
|
2020-06-13 10:13:12 +00:00
|
|
|
# Last Modified: June 13, 2020
|
2020-05-29 22:14:32 +00:00
|
|
|
|
2020-06-05 20:11:43 +00:00
|
|
|
# using Ubuntu LTS 19.10
|
|
|
|
# Ubuntu 20.x is incompatible with Nvidia libraries
|
2020-05-24 17:24:28 +00:00
|
|
|
FROM ubuntu:19.10
|
2020-05-29 22:14:32 +00:00
|
|
|
|
2020-06-05 20:11:43 +00:00
|
|
|
# file mainainter labels
|
2020-05-29 22:14:32 +00:00
|
|
|
LABEL maintainer="Danielle Douglas <ddouglas87@gmail.com>"
|
|
|
|
LABEL maintainer="Lhanjian <lhjay1@foxmail.com>"
|
|
|
|
LABEL maintainer="K4YT3X <k4yt3x@k4yt3x.com>"
|
2020-05-24 17:24:28 +00:00
|
|
|
|
2020-06-05 20:11:43 +00:00
|
|
|
# run installation
|
|
|
|
RUN apt-get update \
|
|
|
|
&& apt-get install -y git-core \
|
|
|
|
&& git clone --recurse-submodules --progress https://github.com/k4yt3x/video2x.git /tmp/video2x/video2x \
|
|
|
|
&& bash -e /tmp/video2x/video2x/src/video2x_setup_ubuntu.sh /
|
2020-05-24 17:24:28 +00:00
|
|
|
|
2020-06-13 10:13:12 +00:00
|
|
|
WORKDIR /host
|
2020-06-05 20:11:43 +00:00
|
|
|
ENTRYPOINT ["python3.8", "/video2x/src/video2x.py"]
|
2020-05-24 17:24:28 +00:00
|
|
|
|
|
|
|
ENV NVIDIA_DRIVER_CAPABILITIES all
|
|
|
|
ENV DEBIAN_FRONTEND teletype
|