Skip to content

Commit

Permalink
Dockerfile: simplify further, change entrypoint to vmaf CLI (#1340)
Browse files Browse the repository at this point in the history
* Dockerfile: simplify further, change entrypoint to vmaf CLI

* Dockerfile: add xxd dependency
  • Loading branch information
nilfm99 authored Mar 13, 2024
1 parent a1b9fc0 commit 71f0f8d
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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 \
Expand All @@ -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
Expand All @@ -34,4 +28,4 @@ WORKDIR /vmaf

ENV PYTHONPATH=python

ENTRYPOINT [ "./python/vmaf/script/run_vmaf.py" ]
ENTRYPOINT [ "vmaf" ]

0 comments on commit 71f0f8d

Please sign in to comment.