diff --git a/Dockerfile b/Dockerfile index 3ac5cc1..599209d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,9 @@ EXPOSE ${PRESTO_PORT} WORKDIR /app ENV DEBIAN_FRONTEND=noninteractive -RUN apt-get update -qq && apt-get install -y --no-install-recommends apt-transport-https +# Trying to avoid this error on CI: +# E: Problem executing scripts APT::Update::Post-Invoke 'rm -f /var/cache/apt/archives/*.deb /var/cache/apt/archives/partial/*.deb /var/cache/apt/*.bin || true' +RUN mkdir -p /var/cache/apt/archives/partial RUN apt-get update -qq && apt-get install -y --no-install-recommends ffmpeg cmake swig libavcodec-dev libavformat-dev git RUN ln -s /usr/bin/ffmpeg /usr/local/bin/ffmpeg