From 71f0f8d2b60c2bfbae53719b84eae6a7ea89255a Mon Sep 17 00:00:00 2001 From: Nil Fons Miret <155979609+nilfm99@users.noreply.github.com> Date: Wed, 13 Mar 2024 16:12:44 -0400 Subject: [PATCH] Dockerfile: simplify further, change entrypoint to vmaf CLI (#1340) * Dockerfile: simplify further, change entrypoint to vmaf CLI * Dockerfile: add xxd dependency --- Dockerfile | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/Dockerfile b/Dockerfile index 554c14d5f..39bfb7837 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,5 @@ FROM ubuntu:22.04 -# setup timezone -ENV TZ=UTC -RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone - # get and install building tools RUN apt-get update && \ apt-get install -y \ @@ -12,11 +8,9 @@ RUN apt-get update && \ nasm \ doxygen \ python3 \ - python3-dev \ python3-pip \ - python3-setuptools \ - python3-wheel \ - python3-venv + python3-venv \ + xxd # retrieve source code COPY . /vmaf @@ -34,4 +28,4 @@ WORKDIR /vmaf ENV PYTHONPATH=python -ENTRYPOINT [ "./python/vmaf/script/run_vmaf.py" ] +ENTRYPOINT [ "vmaf" ]