From ba2911a06e8688683325e4bd4f54c8567b9b5442 Mon Sep 17 00:00:00 2001 From: Caio <117518+caiosba@users.noreply.github.com> Date: Mon, 18 Sep 2023 12:49:29 -0300 Subject: [PATCH] Trying to fix the Dockerfile, take 2 --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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