Skip to content

Commit 9340e42

Browse files
committed
Install the packages needed for cv2 instead of the full ffmpeg binary
1 parent 8b18123 commit 9340e42

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tpu/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ ADD patches/kaggle_datasets.py /root/.local/lib/${PYTHON_VERSION_PATH}/site-pack
3030
# https://stackoverflow.com/questions/55313610/importerror-libgl-so-1-cannot-open-shared-object-file-no-such-file-or-directo
3131
RUN /tmp/clean-layer.sh && \
3232
apt-get update && \
33-
apt-get install --no-install-recommends -y ffmpeg libsm6 libxext6 && \
33+
apt-get install --no-install-recommends -y libavcodec61 libavformat61 libswscale8 libsm6 libxext6 && \
3434
/tmp/clean-layer.sh
3535

3636
# Install all the packages together for maximum compatibility.

0 commit comments

Comments
 (0)