Skip to content

Commit

Permalink
Dockerfile: added PyAV build and runtime deps
Browse files Browse the repository at this point in the history
  • Loading branch information
obilodeau committed Apr 16, 2020
1 parent 8e1f7c2 commit 4610057
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
python3-venv \
# Required to build RLE module and dbus-python (GUI)
build-essential python3-dev \
libdbus-1-dev \
libdbus-glib-1-dev
libdbus-1-dev libdbus-glib-1-dev \
# Required to build PyAV (pyrdp-convert to MP4)
libavformat-dev libavcodec-dev libavdevice-dev \
libavutil-dev libswscale-dev libswresample-dev libavfilter-dev

RUN python3 -m venv /opt/venv
# Make sure we use the virtualenv:
Expand All @@ -34,6 +36,10 @@ RUN apt-get update && apt-get install -y --no-install-recommends python3 \
# GUI and notifications stuff
libgl1-mesa-glx \
notify-osd dbus-x11 libxkbcommon-x11-0 \
# Runtime requirement for PyAV (pyrdp-convert to MP4)
libavcodec57 libavdevice57 \
# Runtime requirement by progressbar (required by pyrdp-convert)
python3-distutils \
&& rm -rf /var/lib/apt/lists/*

# Copy preinstalled dependencies from compile image
Expand Down

0 comments on commit 4610057

Please sign in to comment.